comctl32/tests: Free memory used by property sheet page (Valgrind)
bernhardu at vr-web.de
bernhardu at vr-web.de
Wed Jun 17 17:43:25 CDT 2015
From: Bernhard Übelacker <bernhardu at vr-web.de>
Bug #36236 (just comment #0)
Test fails intentionally to add the sheet to the dialog.
Therefore this sheet gets not freed by freeing the dialog.
---
dlls/comctl32/tests/propsheet.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/comctl32/tests/propsheet.c b/dlls/comctl32/tests/propsheet.c
index 815b8ad..9a422f1 100644
--- a/dlls/comctl32/tests/propsheet.c
+++ b/dlls/comctl32/tests/propsheet.c
@@ -874,6 +874,7 @@ if (0)
r = SendMessageA(tab, TCM_GETITEMCOUNT, 0, 0);
ok(r == 3, "got %d\n", r);
+ DestroyPropertySheetPage(hpsp[4]);
DestroyWindow(hdlg);
}
--
2.1.4
More information about the wine-patches
mailing list