Commit 1e8393f9 authored by Yuxuan Shui's avatar Yuxuan Shui Committed by Alexandre Julliard

urlmon: Fix NULL dereference in BindProtocol_UnlockRequest.

parent ac58b5fe
......@@ -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 = {
......
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