Author: hpoussin
Date: Thu Jun 1 23:55:28 2006
New Revision: 22158
URL:
http://svn.reactos.ru/svn/reactos?rev=22158&view=rev
Log:
Don't free the string, as it is not ours
Modified:
trunk/reactos/dll/win32/user32/misc/display.c
Modified: trunk/reactos/dll/win32/user32/misc/display.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/user32/misc/displ…
==============================================================================
--- trunk/reactos/dll/win32/user32/misc/display.c (original)
+++ trunk/reactos/dll/win32/user32/misc/display.c Thu Jun 1 23:55:28 2006
@@ -114,8 +114,6 @@
iDevNum,
lpDisplayDevice,
dwFlags );
-
- //RtlFreeUnicodeString ( &Device );
return rc;
}
@@ -505,9 +503,6 @@
rc = NtUserChangeDisplaySettings ( pDeviceName, lpDevMode, hwnd, dwflags, lParam );
- if (lpszDeviceName != NULL)
- RtlFreeUnicodeString ( pDeviceName );
-
return rc;
}