aboutsummaryrefslogtreecommitdiff
path: root/kmer_total_count.c
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-11-23 13:12:24 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2013-11-23 13:12:24 -0500
commitc4170d90ab5a5f7008f6969bdce47d7a21761c56 (patch)
treedaf1f37cecb78c12ffe8b77eef10436575b406ed /kmer_total_count.c
parentcdb94d95429edf6d1f68ee3954cb2feb843f02e2 (diff)
better allocation of memory, make sure to free other memory
Diffstat (limited to 'kmer_total_count.c')
-rw-r--r--kmer_total_count.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kmer_total_count.c b/kmer_total_count.c
index 57d4fcc..f15b69c 100644
--- a/kmer_total_count.c
+++ b/kmer_total_count.c
@@ -116,5 +116,7 @@ int main(int argc, char **argv) {
}
}
}
+
+ free(counts);
return EXIT_SUCCESS;
}