mshtml: Fix uri builder leak on nsIFileURL release (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a5f27c6cdc
commit
f45d82eb4c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue