mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
fixed memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6527 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d43a43963f
commit
a42b3fdbd4
@ -1075,7 +1075,8 @@ bool p3IdService::cache_load_ownids(uint32_t token)
|
|||||||
if (item->meta.mSubscribeFlags & GXS_SERV::GROUP_SUBSCRIBE_ADMIN)
|
if (item->meta.mSubscribeFlags & GXS_SERV::GROUP_SUBSCRIBE_ADMIN)
|
||||||
{
|
{
|
||||||
mOwnIds.push_back(item->meta.mGroupId);
|
mOwnIds.push_back(item->meta.mGroupId);
|
||||||
}
|
}
|
||||||
|
delete item ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user