diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2013-11-07 15:31:04 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2013-11-07 15:31:04 -0500 |
commit | a1c0cc6cca98ec16c0b95268bcc84888eb5f701e (patch) | |
tree | cd264e491f1b57aabc8398db3e40ef3580b30b08 | |
parent | b6993e20dbb481e3f727882956ef666ddcac0bcf (diff) |
fix memleak
-rw-r--r-- | src/c/kmer_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/c/kmer_utils.c b/src/c/kmer_utils.c index 08463a2..c1fc1e0 100644 --- a/src/c/kmer_utils.c +++ b/src/c/kmer_utils.c @@ -150,5 +150,8 @@ unsigned long long * get_kmer_counts_from_file(const char *fn, const unsigned in } } + free(line); + free(str); + return counts; } |