user32/tests: Free window after use.
This commit is contained in:
parent
48cb3a30b5
commit
0e16d4cd5b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue