mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
fixed little gdi handle leak
svn path=/trunk/; revision=9879
This commit is contained in:
parent
97a29e0c78
commit
2678ec0387
|
@ -506,6 +506,11 @@ HEXEDIT_WM_NCDESTROY(PHEXEDIT_DATA hed)
|
|||
LocalFree(hed->hBuffer);
|
||||
}
|
||||
|
||||
if(hed->hFont)
|
||||
{
|
||||
DeleteObject(hed->hFont);
|
||||
}
|
||||
|
||||
SetWindowLong(hed->hWndSelf, 0, 0);
|
||||
HeapFree(GetProcessHeap(), 0, hed);
|
||||
|
||||
|
|
Loading…
Reference in a new issue