mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
fixed a memory I accident created when to free a hdc
svn path=/trunk/; revision=24142
This commit is contained in:
parent
5acd247d8e
commit
bb1f92d0d3
1 changed files with 6 additions and 0 deletions
|
@ -1110,6 +1110,12 @@ NtGdiDeleteObjectApp(HANDLE DCHandle)
|
||||||
#if 0 /* FIXME */
|
#if 0 /* FIXME */
|
||||||
PATH_DestroyGdiPath (&DCToDelete->w.path);
|
PATH_DestroyGdiPath (&DCToDelete->w.path);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (DCToDelete->emh)
|
||||||
|
{
|
||||||
|
EngFreeMem(DCToDelete->emh);
|
||||||
|
}
|
||||||
|
|
||||||
DC_UnlockDc( DCToDelete );
|
DC_UnlockDc( DCToDelete );
|
||||||
DC_FreeDC ( DCHandle );
|
DC_FreeDC ( DCHandle );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue