diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-05-04 17:13:50 -0400 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-05-04 17:13:50 -0400 |
commit | 6cff7280e6ee8acc23659374cf8b34a8e0d4cef7 (patch) | |
tree | bf0f2eaa68c88c73d29bcb808d2ebf5881f6cbcf | |
parent | 65709a225fe0816be6d345e1401a8d67f3a0c9d1 (diff) |
close files after counting them
-rw-r--r-- | src/c/kmer_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |