From ae25fbb981704ebfb1cf7bb23468d945494f4372 Mon Sep 17 00:00:00 2001 From: Dmitry Chapyshev Date: Fri, 12 Jun 2009 17:14:42 +0000 Subject: [PATCH] - Fix build svn path=/trunk/; revision=41394 --- reactos/dll/win32/user32/misc/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/user32/misc/display.c b/reactos/dll/win32/user32/misc/display.c index 22d070d5527..9090454c14b 100644 --- a/reactos/dll/win32/user32/misc/display.c +++ b/reactos/dll/win32/user32/misc/display.c @@ -478,7 +478,7 @@ ChangeDisplaySettingsExA( rc = NtUserChangeDisplaySettings ( pDeviceName, pDevModeW, hwnd, dwflags, lParam ); if (pDevModeW != NULL) - RtlFreeHeap(GetProcessHeap(), pDevModeW); + RtlFreeHeap(GetProcessHeap(), 0, pDevModeW); if (lpszDeviceName != NULL) RtlFreeUnicodeString ( &DeviceName );