mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added missing delete causing small leak
This commit is contained in:
parent
c85209693f
commit
5c08dcb0de
@ -1530,6 +1530,8 @@ int RsDataService::updateGroupMetaData(const GrpLocMetaData& meta)
|
||||
|
||||
if(meta)
|
||||
mGrpMetaDataCache.updateMeta(grpId,meta);
|
||||
|
||||
delete c;
|
||||
}
|
||||
|
||||
return 1;
|
||||
@ -1564,6 +1566,8 @@ int RsDataService::updateMessageMetaData(const MsgLocMetaData& metaData)
|
||||
|
||||
if(meta)
|
||||
mMsgMetaDataCache[grpId].updateMeta(msgId,meta);
|
||||
|
||||
delete c;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
@ -1512,8 +1512,6 @@ bool p3GxsCircles::locked_setGroupUnprocessedStatus(RsGxsCircleCache& cache,bool
|
||||
|
||||
RsGenExchange::setGroupStatusFlags(token2, RsGxsGroupId(cache.mCircleId), unprocessed, GXS_SERV::GXS_GRP_STATUS_UNPROCESSED);
|
||||
|
||||
std::cerr << "********** new token for setGrpStatusFlags: " << token2 << std::endl;
|
||||
|
||||
// Now we need to async acknowledge the token when the job is finished. We cannot do this sync because it's the
|
||||
// current thread that takes care of calling the handling of group processing.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user