fixed memory leak

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7671 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-11-11 17:10:16 +00:00
parent f6efa2fb92
commit b25f6f30ef

View File

@ -2375,6 +2375,10 @@ bool RsGenExchange::getGroupKeys(const RsGxsGroupId &grpId, RsTlvSecurityKeySet
return false;
keySet = meta->keys;
for(std::map<RsGxsGroupId, RsGxsGrpMetaData*>::iterator it=grpMeta.begin();it!=grpMeta.end();++it)
delete it->second ;
return true;
}