Nikolay Sivov : comctl32/tests: Fix imagelist leak (Valgrind).
Module: wine Branch: master Commit: 44dbf381a73b21ca34c3f9aa7f5af79203d7a935 URL: http://source.winehq.org/git/wine.git/?a=commit;h=44dbf381a73b21ca34c3f9aa7f... Author: Nikolay Sivov <nsivov(a)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)
participants (1)
-
Alexandre Julliard