Commit e7f19883 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml/tests: Fix DispatchEx leak in test set_dispex_value.

parent 675e32c3
...@@ -810,7 +810,7 @@ static void _set_dispex_value(unsigned line, IUnknown *unk, const WCHAR *name, V ...@@ -810,7 +810,7 @@ static void _set_dispex_value(unsigned line, IUnknown *unk, const WCHAR *name, V
memset(&ei, 0, sizeof(ei)); memset(&ei, 0, sizeof(ei));
hres = IDispatchEx_InvokeEx(dispex, id, LOCALE_NEUTRAL, INVOKE_PROPERTYPUT, &dp, NULL, &ei, NULL); hres = IDispatchEx_InvokeEx(dispex, id, LOCALE_NEUTRAL, INVOKE_PROPERTYPUT, &dp, NULL, &ei, NULL);
ok_(__FILE__,line)(hres == S_OK, "InvokeEx failed: %08lx\n", hres); ok_(__FILE__,line)(hres == S_OK, "InvokeEx failed: %08lx\n", hres);
IDispatchEx_Release(dispex);
} }
#define get_elem_iface(u) _get_elem_iface(__LINE__,u) #define get_elem_iface(u) _get_elem_iface(__LINE__,u)
......
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