From a42b3fdbd45d57edf16597efcb872758458492c2 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 21 Jul 2013 20:52:54 +0000 Subject: [PATCH] fixed memory leak git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6527 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/services/p3idservice.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/services/p3idservice.cc b/libretroshare/src/services/p3idservice.cc index a01cb38de..9c96639c4 100644 --- a/libretroshare/src/services/p3idservice.cc +++ b/libretroshare/src/services/p3idservice.cc @@ -1075,7 +1075,8 @@ bool p3IdService::cache_load_ownids(uint32_t token) if (item->meta.mSubscribeFlags & GXS_SERV::GROUP_SUBSCRIBE_ADMIN) { mOwnIds.push_back(item->meta.mGroupId); - } + } + delete item ; } }