Commit ecb8d9f5 authored by Kieran Duggan's avatar Kieran Duggan Committed by Alexandre Julliard

atl100/tests: Fix leaked memory during test_AtlAxAttachControl.

parent b747d6f6
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment