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:
Gijs Vermeulen 2019-01-17 01:37:14 +01:00 committed by Alexandre Julliard
parent 9d79aa686b
commit c5c54480c6
1 changed files with 2 additions and 0 deletions

View File

@ -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;