Bug 1214200: avoid double NS_RELEASE(), r=mcmanus

This commit is contained in:
Daniel Stenberg
2015-10-17 08:26:38 -04:00
parent 085571b7d8
commit 4c51ad4fc8

View File

@@ -2008,7 +2008,6 @@ nsProtocolProxyService::PruneProxyInfo(const nsProtocolInfo &info,
if (allDisabled) {
LOG(("All proxies are disabled, try a DIRECT rule!"));
NS_RELEASE(head);
*list = nullptr;
return;
}