Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
8b809f13
Commit
8b809f13
authored
Apr 08, 2015
by
Mathieu Giraud
Browse files
core/fasta.cpp: close OnlineFasta in 'nb_sequences_in_fasta'
Thank you Valgrind, again.
parent
40c08830
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/fasta.cpp
View file @
8b809f13
...
...
@@ -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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment