Rob Shearman : comctl32: Fix imagelist leak in tests.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Oct 23 10:02:34 CDT 2006
Module: wine
Branch: master
Commit: c932790dcf03bee253c68e940a7f827e8351ded0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c932790dcf03bee253c68e940a7f827e8351ded0
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Oct 23 11:28:46 2006 +0100
comctl32: Fix imagelist leak in tests.
---
dlls/comctl32/tests/imagelist.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tests/imagelist.c b/dlls/comctl32/tests/imagelist.c
index 16741d7..f863455 100644
--- a/dlls/comctl32/tests/imagelist.c
+++ b/dlls/comctl32/tests/imagelist.c
@@ -283,6 +283,8 @@ #undef SIZEY1
#undef SIZEX2
#undef SIZEY2
#undef HOTSPOTS_MAX
+ ImageList_Destroy(himl2);
+ ImageList_Destroy(himl1);
DestroyWindow(hwnd);
}
More information about the wine-cvs
mailing list