Commit 8b809f13 authored by Mathieu Giraud's avatar Mathieu Giraud

core/fasta.cpp: close OnlineFasta in 'nb_sequences_in_fasta'

Thank you Valgrind, again.
parent 40c08830
......@@ -303,6 +303,8 @@ int nb_sequences_in_fasta(string f, bool approx)
}
cout << " ==> " << nb_sequences << " sequences" << endl;
delete sequences ;
return nb_sequences ;
}
......@@ -332,6 +334,5 @@ int approx_nb_sequences_in_fasta(string f)
cout << nb_sequences << " sequences" << endl;
delete sequences ;
return nb_sequences ;
}
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