atl100/tests: Fix a memory leak (Valgrind).
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9d79aa686b
commit
c5c54480c6
|
@ -964,6 +964,8 @@ static void test_AtlAxCreateControl(void)
|
|||
ok(hr == S_OK, "got 0x%08x\n", hr);
|
||||
ok(container != NULL, "returned %p!\n", container);
|
||||
ok(control != NULL, "returned %p\n", control);
|
||||
IUnknown_Release(container);
|
||||
IUnknown_Release(control);
|
||||
DestroyWindow(hwnd);
|
||||
|
||||
container = NULL;
|
||||
|
|
Loading…
Reference in New Issue