mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
- Fix build
svn path=/trunk/; revision=41394
This commit is contained in:
parent
fc918eb5ac
commit
ae25fbb981
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue