fixed memory leak in p3peermgr config load

This commit is contained in:
csoler 2017-07-25 21:52:09 +02:00
parent 041f989f1c
commit a382a0f5ce

View File

@ -2320,6 +2320,7 @@ bool p3PeerMgrIMPL::loadList(std::list<RsItem *>& load)
std::cerr << "(II) Loaded group in new format. ID = " << info.id << std::endl;
groupList[info.id] = info ;
delete *it ;
continue;
}
RsPeerBandwidthLimitsItem *pblitem = dynamic_cast<RsPeerBandwidthLimitsItem*>(*it) ;