mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
fixed memory leak in p3peermgr config load
This commit is contained in:
parent
041f989f1c
commit
a382a0f5ce
@ -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) ;
|
||||
|
Loading…
Reference in New Issue
Block a user