Commit e563a90c authored by Cyprien Borée's avatar Cyprien Borée Committed by Mikaël Salson
Browse files

Replace pair with two objects in FilterWithACAutomaton destructor

For more informations, see #3283.
parent 0cb66b53
......@@ -5,14 +5,11 @@ FilterWithACAutomaton::FilterWithACAutomaton(BioReader &origin, string seed){
}
FilterWithACAutomaton::~FilterWithACAutomaton(){
if(p){
if(p->first){
delete p->first;
if(automaton){
delete automaton;
}
if(p->second){
delete p->second;
}
delete p;
if(indexes){
delete indexes;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment