Nikolay Sivov : comctl32/tests: Fix imagelist leak (Valgrind).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Dec 1 14:53:05 CST 2014
Module: wine
Branch: master
Commit: 44dbf381a73b21ca34c3f9aa7f5af79203d7a935
URL: http://source.winehq.org/git/wine.git/?a=commit;h=44dbf381a73b21ca34c3f9aa7f5af79203d7a935
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Dec 1 08:16:39 2014 +0300
comctl32/tests: Fix imagelist leak (Valgrind).
---
dlls/comctl32/tests/imagelist.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/comctl32/tests/imagelist.c b/dlls/comctl32/tests/imagelist.c
index 921a16a..6f13846 100644
--- a/dlls/comctl32/tests/imagelist.c
+++ b/dlls/comctl32/tests/imagelist.c
@@ -295,6 +295,7 @@ static void test_begindrag(void)
drag = ImageList_GetDragImage(NULL, NULL);
ok(ret && drag, "ImageList drag was created\n");
ImageList_EndDrag();
+ ImageList_Destroy(himl);
}
static void test_hotspot(void)
More information about the wine-cvs
mailing list