moved temporary GXS object structures into rsgxsutil.h and used them in p3gxscircles to remove a memory leak

This commit is contained in:
csoler 2017-01-31 20:59:50 +01:00
parent 0a02419a29
commit deea1b5344
3 changed files with 65 additions and 40 deletions

View file

@ -1978,7 +1978,7 @@ bool p3GxsCircles::processMembershipRequests(uint32_t token)
#ifdef DEBUG_CIRCLES
std::cerr << "Processing circle membership requests." << std::endl;
#endif
GxsMsgDataMap msgItems ;
RsGxsMetaDataTemporaryMapVector<RsGxsMsgItem> msgItems;
if(!RsGenExchange::getMsgData(token, msgItems))
{