prevented turtle to not deleting a config item when it is not cast

This commit is contained in:
csoler 2016-04-21 22:23:07 -04:00
parent e9fa9eb317
commit 5261c3cd73
2 changed files with 3 additions and 2 deletions

View file

@ -726,7 +726,7 @@ bool p3turtle::loadList(std::list<RsItem*>& load)
}
}
delete vitem ;
delete *it ;
}
load.clear() ;
return true ;