mshtml: Fix memory leak (found by Smatch).
This commit is contained in:
parent
b823922d73
commit
a155665d65
|
@ -602,6 +602,7 @@ static HRESULT WINAPI ResProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
|
|||
if(!hdll) {
|
||||
WARN("Could not open dll: %s\n", debugstr_w(url_dll));
|
||||
IInternetProtocolSink_ReportResult(pOIProtSink, HRESULT_FROM_WIN32(GetLastError()), 0, NULL);
|
||||
mshtml_free(url);
|
||||
return HRESULT_FROM_WIN32(GetLastError());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue