Don't free heap for string that we don't own
Modified: trunk/reactos/lib/user32/misc/display.c
_____
Modified: trunk/reactos/lib/user32/misc/display.c
--- trunk/reactos/lib/user32/misc/display.c 2005-05-27 19:29:24 UTC
(rev 15547)
+++ trunk/reactos/lib/user32/misc/display.c 2005-05-27 19:43:07 UTC
(rev 15548)
@@ -255,8 +255,6 @@
rc = NtUserEnumDisplaySettings ( &DeviceName, iModeNum, lpDevMode,
dwFlags );
- RtlFreeUnicodeString ( &DeviceName );
-
return rc;
}
Show replies by date