coverity: fix filestore v2 memleak

pull/3534/head
Victor Julien 6 years ago
parent 00111499b0
commit f97bf298b2

@ -223,6 +223,7 @@ static int OutputFilestoreLogger(ThreadVars *tv, void *thread_data,
if (FileGetMaxOpenFiles() > 0) {
StatsIncr(tv, aft->counter_max_hits);
}
ff->fd = -1;
}
/* we can get called with a NULL ffd when we need to close */
} else if (data != NULL) {

Loading…
Cancel
Save