fixed a memory I accident created when to free a hdc

svn path=/trunk/; revision=24142
This commit is contained in:
Magnus Olsen 2006-09-16 06:40:37 +00:00
parent 5acd247d8e
commit bb1f92d0d3

View file

@ -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 );