mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
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:
parent
1f6225f778
commit
c2c52a81ec
@ -695,6 +695,8 @@ bool p3Config::loadConfig()
|
||||
delete (*it);
|
||||
}
|
||||
pass = false;
|
||||
|
||||
load.clear();
|
||||
}
|
||||
|
||||
// try 2nd attempt with backup files if first failed
|
||||
|
Loading…
Reference in New Issue
Block a user