mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[REGEDIT] Use HeapFree for g_pChildWnd, instead of free()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user