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/disp…
==============================================================================
--- 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 );