From ab3939cd9ad9f2f9ef6812cc33412f15ad0ade85 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 1 Jan 2016 11:11:40 -0500 Subject: [PATCH] added missing update of mClientMsgUpdateMap, causing both a memory leak and an inconsistency in TS --- libretroshare/src/gxs/rsgxsnetservice.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretroshare/src/gxs/rsgxsnetservice.cc b/libretroshare/src/gxs/rsgxsnetservice.cc index 619d6e691..af175d672 100644 --- a/libretroshare/src/gxs/rsgxsnetservice.cc +++ b/libretroshare/src/gxs/rsgxsnetservice.cc @@ -2749,6 +2749,8 @@ void RsGxsNetService::locked_stampPeerGroupUpdateTime(const RsPeerId& pid,const { pitem = new RsGxsMsgUpdateItem(mServType) ; pitem->peerId = pid ; + + mClientMsgUpdateMap[pid] = pitem ; } else pitem = it->second ;