Commit d7b7f783 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comdlg32/tests: Free global blocks after PrintDlg() with PD_RETURNDEFAULT.

parent 4fec073d
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment