mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-10 23:52:51 -04: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue