Fixed crash on load of the config, when the first attempt loads some RsItem's but failed and the second attempt failed too. The loaded items are deleted twice, because the std::list of the loaded items is not clear'ed after the delete of the items of the first attempt.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-10-08 19:22:03 +00:00
parent 1f6225f778
commit c2c52a81ec

View File

@ -695,6 +695,8 @@ bool p3Config::loadConfig()
delete (*it); delete (*it);
} }
pass = false; pass = false;
load.clear();
} }
// try 2nd attempt with backup files if first failed // try 2nd attempt with backup files if first failed