mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fixed little gdi handle leak
svn path=/trunk/; revision=9879
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user