mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[REGEDIT] Use HeapFree for g_pChildWnd, instead of free()
This commit is contained in:
parent
0a1d467a11
commit
19027f3c81
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||||
DestroyTreeView(g_pChildWnd->hTreeWnd);
|
DestroyTreeView(g_pChildWnd->hTreeWnd);
|
||||||
DestroyMainMenu();
|
DestroyMainMenu();
|
||||||
DestroyIcon(g_pChildWnd->hArrowIcon);
|
DestroyIcon(g_pChildWnd->hArrowIcon);
|
||||||
free(g_pChildWnd);
|
HeapFree(GetProcessHeap(), 0, g_pChildWnd);
|
||||||
g_pChildWnd = NULL;
|
g_pChildWnd = NULL;
|
||||||
PostQuitMessage(0);
|
PostQuitMessage(0);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue