Commit a155665d authored by Lionel Debroux's avatar Lionel Debroux Committed by Alexandre Julliard

mshtml: Fix memory leak (found by Smatch).

parent b823922d
......@@ -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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment