Module: wine Branch: master Commit: 21df8bd5aae1ece849d9cfae51f002af87c4a98a URL: https://gitlab.winehq.org/wine/wine/-/commit/21df8bd5aae1ece849d9cfae51f002a...
Author: Gabriel Ivăncescu gabrielopcode@gmail.com Date: Wed Jun 21 21:12:50 2023 +0300
mshtml: Fix nsIDOMNode leak when retrieving an item in the node list.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com
---
dlls/mshtml/htmlnode.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mshtml/htmlnode.c b/dlls/mshtml/htmlnode.c index 02f3e2929b2..f15718f1b90 100644 --- a/dlls/mshtml/htmlnode.c +++ b/dlls/mshtml/htmlnode.c @@ -338,6 +338,7 @@ static HRESULT WINAPI HTMLDOMChildrenCollection_item(IHTMLDOMChildrenCollection }
hres = get_node(nsnode, TRUE, &node); + nsIDOMNode_Release(nsnode); if(FAILED(hres)) return hres;