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

This commit is contained in:
Daniel Stenberg 2015-10-17 08:26:38 -04:00
parent 4cd7fec6a8
commit 19855ea7f7

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;
}