projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed 4 memory leaks
[reactos.git]
/
reactos
/
subsys
/
system
/
regedit
/
childwnd.c
diff --git
a/reactos/subsys/system/regedit/childwnd.c
b/reactos/subsys/system/regedit/childwnd.c
index
824abb9
..
10c8aaf
100644
(file)
--- a/
reactos/subsys/system/regedit/childwnd.c
+++ b/
reactos/subsys/system/regedit/childwnd.c
@@
-310,6
+310,9
@@
LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
}
goto def;
case WM_DESTROY:
+ DestroyTreeView();
+ DestroyListView(pChildWnd->hListWnd);
+ DestroyMainMenu();
HeapFree(GetProcessHeap(), 0, pChildWnd);
pChildWnd = NULL;
PostQuitMessage(0);