mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
urlmon: Fix NULL dereference in BindProtocol_UnlockRequest.
This commit is contained in:
parent
ac58b5fefd
commit
1e8393f976
1 changed files with 3 additions and 1 deletions
|
@ -815,7 +815,9 @@ static HRESULT WINAPI ProtocolHandler_UnlockRequest(IInternetProtocol *iface)
|
|||
|
||||
TRACE("(%p)\n", This);
|
||||
|
||||
return IInternetProtocol_UnlockRequest(This->protocol);
|
||||
if (This->protocol)
|
||||
return IInternetProtocol_UnlockRequest(This->protocol);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static const IInternetProtocolVtbl InternetProtocolHandlerVtbl = {
|
||||
|
|
Loading…
Reference in a new issue