From 6cff7280e6ee8acc23659374cf8b34a8e0d4cef7 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sun, 4 May 2014 17:13:50 -0400 Subject: close files after counting them --- src/c/kmer_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/c/kmer_utils.c b/src/c/kmer_utils.c index aa341f3..1ca522a 100644 --- a/src/c/kmer_utils.c +++ b/src/c/kmer_utils.c @@ -156,6 +156,7 @@ unsigned long long * get_kmer_counts_from_file(const char *fn, const unsigned in free(line); free(str); + fclose(fh); return counts; } -- cgit v1.2.3