shell32: Fix a memory leak in the run dialog code.

oldstable
Vincent Povirk 2008-12-18 15:52:52 -06:00 committed by Alexandre Julliard
parent 96a95bba25
commit 061fb815d6
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ static INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPAR
MessageBoxA (hwnd, szMsg, "Nix", MB_OK | MB_ICONEXCLAMATION) ;
HeapFree(GetProcessHeap(), 0, psz);
HeapFree(GetProcessHeap(), 0, parent);
SendMessageA (htxt, CB_SETEDITSEL, 0, MAKELPARAM (0, -1)) ;
return TRUE ;
}