mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added missing delete in p3GeneralConfig
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5f4e465a09
commit
8aa6be3517
@ -512,6 +512,8 @@ bool p3GeneralConfig::saveList(bool &cleanup, std::list<RsItem *>& savelist)
|
|||||||
{
|
{
|
||||||
savelist.push_back(item);
|
savelist.push_back(item);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
delete item;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user