mshtml: Correctly handle NULL req in get_nscontainer_from_load_group.

This commit is contained in:
Jacek Caban 2008-04-10 10:38:05 +02:00 committed by Alexandre Julliard
parent 2f9b7741ca
commit 732682b08c

View File

@ -656,6 +656,9 @@ static NSContainer *get_nscontainer_from_load_group(nsChannel *This)
return NULL;
}
if(!req)
return NULL;
nsres = nsIRequest_QueryInterface(req, &IID_nsIChannel, (void**)&channel);
nsIRequest_Release(req);
if(NS_FAILED(nsres)) {