mshtml: Fix memory leak (found by Smatch).

This commit is contained in:
Lionel Debroux 2007-10-27 14:41:05 +02:00 committed by Alexandre Julliard
parent b823922d73
commit a155665d65
1 changed files with 1 additions and 0 deletions

View File

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