Gabriel Ivăncescu : mshtml/tests: Fix DispatchEx leak in test set_dispex_value.
Module: wine Branch: master Commit: e7f19883b34f6e8080fa8b54f6e7d7e86734b9cb URL: https://gitlab.winehq.org/wine/wine/-/commit/e7f19883b34f6e8080fa8b54f6e7d7e... Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Fri Jul 7 17:25:05 2023 +0300 mshtml/tests: Fix DispatchEx leak in test set_dispex_value. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/tests/dom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index 34172c9156e..4b7782aa0d2 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -810,7 +810,7 @@ static void _set_dispex_value(unsigned line, IUnknown *unk, const WCHAR *name, V memset(&ei, 0, sizeof(ei)); hres = IDispatchEx_InvokeEx(dispex, id, LOCALE_NEUTRAL, INVOKE_PROPERTYPUT, &dp, NULL, &ei, NULL); ok_(__FILE__,line)(hres == S_OK, "InvokeEx failed: %08lx\n", hres); - + IDispatchEx_Release(dispex); } #define get_elem_iface(u) _get_elem_iface(__LINE__,u)
participants (1)
-
Alexandre Julliard