Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 52fdaff2 authored by Mathieu Giraud's avatar Mathieu Giraud

core/fasta.cpp: valgrind, do not delete input when this was stdin

following !887
use ancient mechanism 'input_allocated' (9387e03a)
parent be0b8322
......@@ -51,6 +51,7 @@ OnlineFasta::~OnlineFasta() {
void OnlineFasta::init() {
if (filename == STDIN_FILENAME) {
input = &cin;
input_allocated = false;
else if (! filename.empty()) {
input = new igzstream(filename.c_str());
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