21 Jun
2023
21 Jun
'23
6:13 p.m.
From: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/htmlelem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c index 5dd812c9ca6..ad5bda63665 100644 --- a/dlls/mshtml/htmlelem.c +++ b/dlls/mshtml/htmlelem.c @@ -2339,6 +2339,7 @@ static HRESULT WINAPI HTMLElement_put_innerText(IHTMLElement *iface, BSTR v) } nsres = nsIDOMElement_AppendChild(This->dom_element, (nsIDOMNode*)text_node, &tmp); + nsIDOMText_Release(text_node); if(NS_FAILED(nsres)) { ERR("AppendChild failed: %08lx\n", nsres); return E_FAIL; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3134