From 2eacda93bd772f68a56e9ccd73bf7b9eca38ab39 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 6 Jan 2008 22:28:28 +0000 Subject: [PATCH] Fix handling of WM_COMMAND messages svn path=/trunk/; revision=31635 --- reactos/dll/win32/shell32/fprop.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/dll/win32/shell32/fprop.c b/reactos/dll/win32/shell32/fprop.c index c8f016e13a3..8600f803078 100644 --- a/reactos/dll/win32/shell32/fprop.c +++ b/reactos/dll/win32/shell32/fprop.c @@ -540,9 +540,13 @@ SH_FileVersionDlgProc( SendMessageW(hDlgCtrl, WM_SETTEXT, (WPARAM)NULL, (LPARAM)str); return TRUE; } + break; + case WM_DESTROY: buf = (LPVOID)GetWindowLong(hwndDlg, DWL_USER); HeapFree(GetProcessHeap(), 0, buf); + break; + default: break; }