Module: wine Branch: master Commit: d7033b4be5ca9a8c9f593e804d946b988392ed16 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7033b4be5ca9a8c9f593e804d...
Author: Francois Gouget fgouget@free.fr Date: Thu Feb 5 00:20:26 2009 +0100
xrandr: X11DRV_XRandR_Cleanup() is unused so remove it.
---
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 */