atl100/tests: Fix leaked memory during test_AtlAxAttachControl.

Signed-off-by: Kieran Duggan <kieranduggan15@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Kieran Duggan 2018-03-26 13:11:09 -04:00 committed by Alexandre Julliard
parent b747d6f6cc
commit ecb8d9f551
1 changed files with 1 additions and 0 deletions

View File

@ -902,6 +902,7 @@ static void test_AtlAxAttachControl(void)
hr = AtlAxAttachControl(control, hwnd, &container);
ok(hr == S_OK, "Expected AtlAxAttachControl to return S_OK, got 0x%08x\n", hr);
ok(container != NULL, "Expected not NULL!\n");
IUnknown_Release(container);
val = GetWindowLongW(hwnd, GWLP_USERDATA);
ok(val == 0xdeadbeef, "Expected unchanged, returned %08x\n", val);
DestroyWindow(hwnd);