xrandr: X11DRV_XRandR_Cleanup() is unused so remove it.

Francois Gouget fgouget at free.fr
Wed Feb 4 17:20:26 CST 2009


---
 dlls/winex11.drv/xrandr.c |    8 --------
 dlls/winex11.drv/xrandr.h |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/dlls/winex11.drv/xrandr.c b/dlls/winex11.drv/xrandr.c
index fd21169..4884e1f 100644
--- a/dlls/winex11.drv/xrandr.c
+++ b/dlls/winex11.drv/xrandr.c
@@ -307,12 +307,4 @@ void X11DRV_XRandR_Init(void)
     TRACE("Enabling XRandR\n");
 }
 
-void X11DRV_XRandR_Cleanup(void)
-{
-    HeapFree(GetProcessHeap(), 0, real_xrandr_rates);
-    real_xrandr_rates = NULL;
-    HeapFree(GetProcessHeap(), 0, real_xrandr_rates_count);
-    real_xrandr_rates_count = NULL;
-}
-
 #endif /* SONAME_LIBXRANDR */
diff --git a/dlls/winex11.drv/xrandr.h b/dlls/winex11.drv/xrandr.h
index 9686c87..af3d70e 100644
--- a/dlls/winex11.drv/xrandr.h
+++ b/dlls/winex11.drv/xrandr.h
@@ -27,7 +27,6 @@
 #ifdef SONAME_LIBXRANDR
 
 void X11DRV_XRandR_Init(void);
-void X11DRV_XRandR_Cleanup(void);
 
 #endif /* SONAME_LIBXRANDR */
 #endif /* __WINE_XRANDR_H */
-- 
1.5.6.5




More information about the wine-patches mailing list