added missing update of mClientMsgUpdateMap, causing both a memory leak and an inconsistency in TS

This commit is contained in:
csoler 2016-01-01 11:11:40 -05:00
parent 22c00fc638
commit ab3939cd9a

View File

@ -2749,6 +2749,8 @@ void RsGxsNetService::locked_stampPeerGroupUpdateTime(const RsPeerId& pid,const
{ {
pitem = new RsGxsMsgUpdateItem(mServType) ; pitem = new RsGxsMsgUpdateItem(mServType) ;
pitem->peerId = pid ; pitem->peerId = pid ;
mClientMsgUpdateMap[pid] = pitem ;
} }
else else
pitem = it->second ; pitem = it->second ;