- Fix build

svn path=/trunk/; revision=41394
This commit is contained in:
Dmitry Chapyshev 2009-06-12 17:14:42 +00:00
parent fc918eb5ac
commit ae25fbb981

View file

@ -478,7 +478,7 @@ ChangeDisplaySettingsExA(
rc = NtUserChangeDisplaySettings ( pDeviceName, pDevModeW, hwnd, dwflags, lParam ); rc = NtUserChangeDisplaySettings ( pDeviceName, pDevModeW, hwnd, dwflags, lParam );
if (pDevModeW != NULL) if (pDevModeW != NULL)
RtlFreeHeap(GetProcessHeap(), pDevModeW); RtlFreeHeap(GetProcessHeap(), 0, pDevModeW);
if (lpszDeviceName != NULL) if (lpszDeviceName != NULL)
RtlFreeUnicodeString ( &DeviceName ); RtlFreeUnicodeString ( &DeviceName );