Commit 44dbf381 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/tests: Fix imagelist leak (Valgrind).

parent ea5808df
...@@ -295,6 +295,7 @@ static void test_begindrag(void) ...@@ -295,6 +295,7 @@ static void test_begindrag(void)
drag = ImageList_GetDragImage(NULL, NULL); drag = ImageList_GetDragImage(NULL, NULL);
ok(ret && drag, "ImageList drag was created\n"); ok(ret && drag, "ImageList drag was created\n");
ImageList_EndDrag(); ImageList_EndDrag();
ImageList_Destroy(himl);
} }
static void test_hotspot(void) static void test_hotspot(void)
......
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