Nikolay Sivov : comdlg32/tests: Free global blocks after PrintDlg() with PD_RETURNDEFAULT.
Alexandre Julliard
julliard at winehq.org
Mon Jan 4 10:54:15 CST 2010
Module: wine
Branch: master
Commit: d7b7f783ab8af0d717c7968a331233917e4c11b8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7b7f783ab8af0d717c7968a331233917e4c11b8
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Fri Jan 1 18:50:45 2010 +0300
comdlg32/tests: Free global blocks after PrintDlg() with PD_RETURNDEFAULT.
---
dlls/comdlg32/tests/printdlg.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/comdlg32/tests/printdlg.c b/dlls/comdlg32/tests/printdlg.c
index 4e189ee..61eefa6 100644
--- a/dlls/comdlg32/tests/printdlg.c
+++ b/dlls/comdlg32/tests/printdlg.c
@@ -323,6 +323,8 @@ static void test_abort_proc(void)
ok(DeleteFileA(filename), "Failed to delete temporary file\n");
return;
}
+ GlobalFree(pd.hDevMode);
+ GlobalFree(pd.hDevNames);
ok(pd.hDC != NULL, "PrintDlg didn't return a DC.\n");
if (!(print_dc = pd.hDC))
More information about the wine-cvs
mailing list