From 1a0c5f2e9b1924d69a821b30eaa568ec7c49535f Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Thu, 18 Dec 2008 15:52:52 -0600 Subject: [PATCH] shell32: fix a memory leak in the run dialog code --- dlls/shell32/dialogs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/shell32/dialogs.c b/dlls/shell32/dialogs.c index 844b8f4..0fdc951 100644 --- a/dlls/shell32/dialogs.c +++ b/dlls/shell32/dialogs.c @@ -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 ; } -- 1.5.6.3