fixed little gdi handle leak

svn path=/trunk/; revision=9879
This commit is contained in:
Thomas Bluemel 2004-06-26 08:09:55 +00:00
parent 97a29e0c78
commit 2678ec0387

View file

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