mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +00:00
fixed little gdi handle leak
svn path=/trunk/; revision=9879
This commit is contained in:
parent
97a29e0c78
commit
2678ec0387
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue