user32/tests: Free window after use.

This commit is contained in:
Nikolay Sivov 2009-12-02 23:06:59 +03:00 committed by Alexandre Julliard
parent 48cb3a30b5
commit 0e16d4cd5b
1 changed files with 1 additions and 0 deletions

View File

@ -572,6 +572,7 @@ static void test_instances(void)
SetClassLongPtrA( hwnd, GCLP_HMODULE, 0xdeadbeef ); SetClassLongPtrA( hwnd, GCLP_HMODULE, 0xdeadbeef );
check_instance( "EDIT", (HINSTANCE)0x12345678, (HINSTANCE)0x12345678, (HINSTANCE)0xdeadbeef ); check_instance( "EDIT", (HINSTANCE)0x12345678, (HINSTANCE)0x12345678, (HINSTANCE)0xdeadbeef );
check_thread_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) static void test_builtinproc(void)