aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-11-07 15:31:04 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2013-11-07 15:31:04 -0500
commita1c0cc6cca98ec16c0b95268bcc84888eb5f701e (patch)
treecd264e491f1b57aabc8398db3e40ef3580b30b08 /src
parentb6993e20dbb481e3f727882956ef666ddcac0bcf (diff)
fix memleak
Diffstat (limited to 'src')
-rw-r--r--src/c/kmer_utils.c3
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;
}