[ros-diffs] [dchapyshev] 41394: - Fix build

dchapyshev at svn.reactos.org dchapyshev at svn.reactos.org
Fri Jun 12 19:14:43 CEST 2009


Author: dchapyshev
Date: Fri Jun 12 21:14:42 2009
New Revision: 41394

URL: http://svn.reactos.org/svn/reactos?rev=41394&view=rev
Log:
- Fix build

Modified:
    trunk/reactos/dll/win32/user32/misc/display.c

Modified: trunk/reactos/dll/win32/user32/misc/display.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/display.c?rev=41394&r1=41393&r2=41394&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/misc/display.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/misc/display.c [iso-8859-1] Fri Jun 12 21:14:42 2009
@@ -478,7 +478,7 @@
   rc = NtUserChangeDisplaySettings ( pDeviceName, pDevModeW, hwnd, dwflags, lParam );
 
   if (pDevModeW != NULL)
-    RtlFreeHeap(GetProcessHeap(), pDevModeW);
+    RtlFreeHeap(GetProcessHeap(), 0, pDevModeW);
 
   if (lpszDeviceName != NULL)
     RtlFreeUnicodeString ( &DeviceName );



More information about the Ros-diffs mailing list