Skip to content

Commit 4a59485

Browse files
committed
Fix a minor memory leak: close severity file when done
1 parent c972fb2 commit 4a59485

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/split-vep.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ static void init_data(args_t *args)
985985
kputc('\n', &str);
986986
}
987987
free(tmp.s);
988+
hts_close(fp);
988989
}
989990
else
990991
kputs(default_severity(),&str);

0 commit comments

Comments
 (0)