Nikolay Sivov : comctl32/tests: Free imagelist after use.

Alexandre Julliard julliard at winehq.org
Mon Dec 7 10:26:14 CST 2009


Module: wine
Branch: master
Commit: 0f003ef48d28335ce30017019ca607c3cc5fe689
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0f003ef48d28335ce30017019ca607c3cc5fe689

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Sat Dec  5 20:49:12 2009 +0300

comctl32/tests: Free imagelist after use.

---

 dlls/comctl32/tests/rebar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/tests/rebar.c b/dlls/comctl32/tests/rebar.c
index 6f26388..45b3c06 100644
--- a/dlls/comctl32/tests/rebar.c
+++ b/dlls/comctl32/tests/rebar.c
@@ -503,6 +503,7 @@ static void layout_test(void)
     check_sizes();
 
     DestroyWindow(hRebar);
+    ImageList_Destroy(himl);
 }
 
 #if 0       /* use this to generate more tests */




More information about the wine-cvs mailing list