Skip to content
Snippets Groups Projects
Commit 06932dca authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#4367] Fix segfault when unloading account map

parent e54472ab
No related branches found
No related tags found
No related merge requests found
......@@ -3900,8 +3900,11 @@ void ManagerImpl::unloadAccountMap ()
_debug ("Manager: Unloading account %s", iter->first.c_str());
// Avoid removing the IP2IP account twice
if(iter->first != "") {
delete iter->second;
iter->second = NULL;
}
iter++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment