Nikolay Sivov : user32/tests: Free window after use.

Alexandre Julliard julliard at winehq.org
Thu Dec 3 10:29:51 CST 2009


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Wed Dec  2 23:06:59 2009 +0300

user32/tests: Free window after use.

---

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

diff --git a/dlls/user32/tests/class.c b/dlls/user32/tests/class.c
index 940550e..b11b5d2 100644
--- a/dlls/user32/tests/class.c
+++ b/dlls/user32/tests/class.c
@@ -572,6 +572,7 @@ static void test_instances(void)
     SetClassLongPtrA( hwnd, GCLP_HMODULE, 0xdeadbeef );
     check_instance( "EDIT", (HINSTANCE)0x12345678, (HINSTANCE)0x12345678, (HINSTANCE)0xdeadbeef );
     check_thread_instance( "EDIT", (HINSTANCE)0x12345678, (HINSTANCE)0x12345678, (HINSTANCE)0xdeadbeef );
+    DestroyWindow(hwnd);
 }
 
 static void test_builtinproc(void)




More information about the wine-cvs mailing list