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:
electron128 2015-06-16 14:51:20 +00:00
parent 5f4e465a09
commit 8aa6be3517

View File

@ -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;
} }