mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
fixed a memory I accident created when to free a hdc
svn path=/trunk/; revision=24142
This commit is contained in:
@@ -1110,6 +1110,12 @@ NtGdiDeleteObjectApp(HANDLE DCHandle)
|
||||
#if 0 /* FIXME */
|
||||
PATH_DestroyGdiPath (&DCToDelete->w.path);
|
||||
#endif
|
||||
|
||||
if (DCToDelete->emh)
|
||||
{
|
||||
EngFreeMem(DCToDelete->emh);
|
||||
}
|
||||
|
||||
DC_UnlockDc( DCToDelete );
|
||||
DC_FreeDC ( DCHandle );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user