mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 11:52:56 +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
1 changed files with 0 additions and 5 deletions
|
@ -115,8 +115,6 @@ EnumDisplayDevicesW(
|
||||||
lpDisplayDevice,
|
lpDisplayDevice,
|
||||||
dwFlags );
|
dwFlags );
|
||||||
|
|
||||||
//RtlFreeUnicodeString ( &Device );
|
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -505,9 +503,6 @@ ChangeDisplaySettingsExW(
|
||||||
|
|
||||||
rc = NtUserChangeDisplaySettings ( pDeviceName, lpDevMode, hwnd, dwflags, lParam );
|
rc = NtUserChangeDisplaySettings ( pDeviceName, lpDevMode, hwnd, dwflags, lParam );
|
||||||
|
|
||||||
if (lpszDeviceName != NULL)
|
|
||||||
RtlFreeUnicodeString ( pDeviceName );
|
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue