mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +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);
|
||||
DestroyMainMenu();
|
||||
DestroyIcon(g_pChildWnd->hArrowIcon);
|
||||
free(g_pChildWnd);
|
||||
HeapFree(GetProcessHeap(), 0, g_pChildWnd);
|
||||
g_pChildWnd = NULL;
|
||||
PostQuitMessage(0);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue