aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-11-11 19:42:57 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2013-11-11 19:42:57 -0500
commit5d12ff8c86fc82b2800063ecd14008a5e34fd946 (patch)
treeec12f2419b8409793c9ed52613bca2c4f1eb9cba
parent510a8001307afc24199d22bbfb7730c972ca6d69 (diff)
fix memleak
-rw-r--r--kmer_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kmer_utils.c b/kmer_utils.c
index 2a739d6..5e24584 100644
--- a/kmer_utils.c
+++ b/kmer_utils.c
@@ -185,5 +185,6 @@ unsigned long long * get_kmer_counts_from_file(const char *fn, const unsigned in
}
}
+ free(line);
return counts;
}