diff --git a/netwerk/base/src/nsProtocolProxyService.cpp b/netwerk/base/src/nsProtocolProxyService.cpp index d4b033b31811..89859d275710 100644 --- a/netwerk/base/src/nsProtocolProxyService.cpp +++ b/netwerk/base/src/nsProtocolProxyService.cpp @@ -476,6 +476,8 @@ static const char kProxyType_DIRECT[] = "direct"; const char * nsProtocolProxyService::ExtractProxyInfo(const char *start, PRBool permitHttp, nsProxyInfo **result) { + *result = nsnull; + // see BNF in nsIProxyAutoConfig.idl // find end of proxy info delimiter