Author: fireball
Date: Sat Jul 18 15:35:10 2009
New Revision: 42049
URL:
http://svn.reactos.org/svn/reactos?rev=42049&view=rev
Log:
- Fix two memory freeing leftovers.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/wine/window.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/wine/window.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/wine/window.c [iso-8859-1]
(original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/wine/window.c [iso-8859-1] Sat Jul 18
15:35:10 2009
@@ -1703,9 +1703,9 @@
if (win->win_region) free_region( win->win_region );
if (win->update_region) free_region( win->update_region );
if (win->class) release_class( win->class );
- free( win->text );
+ ExFreePool( win->text );
memset( win, 0x55, sizeof(*win) + win->nb_extra_bytes - 1 );
- free( win );
+ ExFreePool( win );
}