projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a29e0
)
fixed little gdi handle leak
author
Thomas Bluemel
<thomas@reactsoft.com>
Sat, 26 Jun 2004 08:09:55 +0000
(08:09 +0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Sat, 26 Jun 2004 08:09:55 +0000
(08:09 +0000)
svn path=/trunk/; revision=9879
reactos/subsys/system/regedit/hexedit.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/system/regedit/hexedit.c
b/reactos/subsys/system/regedit/hexedit.c
index
b529070
..
718faaa
100644
(file)
--- a/
reactos/subsys/system/regedit/hexedit.c
+++ b/
reactos/subsys/system/regedit/hexedit.c
@@
-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);