mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-21 04:44:25 -04:00
fixed memory leak in p3peermgr config load
This commit is contained in:
parent
041f989f1c
commit
a382a0f5ce
1 changed files with 1 additions and 0 deletions
|
@ -2320,6 +2320,7 @@ bool p3PeerMgrIMPL::loadList(std::list<RsItem *>& load)
|
||||||
std::cerr << "(II) Loaded group in new format. ID = " << info.id << std::endl;
|
std::cerr << "(II) Loaded group in new format. ID = " << info.id << std::endl;
|
||||||
groupList[info.id] = info ;
|
groupList[info.id] = info ;
|
||||||
|
|
||||||
|
delete *it ;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
RsPeerBandwidthLimitsItem *pblitem = dynamic_cast<RsPeerBandwidthLimitsItem*>(*it) ;
|
RsPeerBandwidthLimitsItem *pblitem = dynamic_cast<RsPeerBandwidthLimitsItem*>(*it) ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue