mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
Don't free the string, as it is not ours
svn path=/trunk/; revision=22158
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user