Module: wine Branch: master Commit: 0380ee031c17accb316926c7117eedd403e339b3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0380ee031c17accb316926c711...
Author: Qian Hong qhong@codeweavers.com Date: Thu Nov 20 13:02:41 2014 +0800
comdlg32/tests: Fixed memory leak (Valgrind).
---
dlls/comdlg32/tests/printdlg.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/comdlg32/tests/printdlg.c b/dlls/comdlg32/tests/printdlg.c index 871807b..7e06c97 100644 --- a/dlls/comdlg32/tests/printdlg.c +++ b/dlls/comdlg32/tests/printdlg.c @@ -531,6 +531,7 @@ static void test_PrintDlgExW(void) if (!winetest_interactive) { skip("interactive PrintDlgEx tests (set WINETEST_INTERACTIVE=1)\n"); + HeapFree(GetProcessHeap(), 0, pDlg); return; }