From ab193e013bc0eafadadeef969e27d3246297ff91 Mon Sep 17 00:00:00 2001 From: "gagan%netscape.com" Date: Tue, 26 Jan 1999 07:23:51 +0000 Subject: [PATCH] Fix for 2107. git-svn-id: svn://10.0.0.236/trunk@18590 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/network/module/nsNetStubs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/network/module/nsNetStubs.cpp b/mozilla/network/module/nsNetStubs.cpp index 009a948dce0..db3ce40aef3 100644 --- a/mozilla/network/module/nsNetStubs.cpp +++ b/mozilla/network/module/nsNetStubs.cpp @@ -424,7 +424,7 @@ void FE_SetRefreshURLTimer(MWContext *pContext, URL_Struct *URL_s) nsISupports* container; rv = pConn->pURL->GetContainer(&container); - if (rv == NS_OK) { + if (container && (rv == NS_OK)) { rv = container->QueryInterface(kRefreshURLIID, (void**)&IRefreshURL); if(NS_SUCCEEDED(rv)) { nsIURL* newURL;