urlmon: Call Binding_CloseCacheDownload after Binding_FinishedDownload.

This commit is contained in:
Jacek Caban 2006-06-20 19:04:55 +02:00 committed by Alexandre Julliard
parent ac4abb7536
commit 0a109b38c3

View File

@ -734,8 +734,8 @@ static HRESULT URLMonikerImpl_BindToStorage_hack(LPCWSTR URLName,
InternetCloseHandle(bind->hinternet);
} while(0);
Binding_CloseCacheDownload(bind);
Binding_FinishedDownload(bind, hres);
Binding_CloseCacheDownload(bind);
HeapFree(GetProcessHeap(), 0, user);
HeapFree(GetProcessHeap(), 0, pass);