[PATCH] mshtml: Fix uri builder leak on nsIFileURL release (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Sat Nov 12 13:27:18 CST 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/mshtml/nsio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index ba21312..f8463d2 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -2346,6 +2346,8 @@ static nsrefcnt NSAPI nsURI_Release(nsIFileURL *iface)
nsIWebBrowserChrome_Release(&This->container->nsIWebBrowserChrome_iface);
if(This->uri)
IUri_Release(This->uri);
+ if(This->uri_builder)
+ IUriBuilder_Release(This->uri_builder);
heap_free(This->origin_charset);
heap_free(This);
}
--
2.10.2
More information about the wine-patches
mailing list