mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 09:01:13 +00:00
Don't free the string, as it is not ours
svn path=/trunk/; revision=22158
This commit is contained in:
parent
e5a6d9a2cc
commit
fdd161b84d
|
@ -115,8 +115,6 @@ EnumDisplayDevicesW(
|
|||
lpDisplayDevice,
|
||||
dwFlags );
|
||||
|
||||
//RtlFreeUnicodeString ( &Device );
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
@ -505,9 +503,6 @@ ChangeDisplaySettingsExW(
|
|||
|
||||
rc = NtUserChangeDisplaySettings ( pDeviceName, lpDevMode, hwnd, dwflags, lParam );
|
||||
|
||||
if (lpszDeviceName != NULL)
|
||||
RtlFreeUnicodeString ( pDeviceName );
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue