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:
Nikolay Sivov 2016-11-12 22:27:18 +03:00 committed by Alexandre Julliard
parent a5f27c6cdc
commit f45d82eb4c
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}