From 62343db316259d551ba5924148ef728b9909e6a5 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Wed, 6 Nov 2013 11:25:10 -0500 Subject: fix free --- kmer_frequency_per_sequence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmer_frequency_per_sequence.c b/kmer_frequency_per_sequence.c index 7fc9c6f..7b14f6d 100644 --- a/kmer_frequency_per_sequence.c +++ b/kmer_frequency_per_sequence.c @@ -60,10 +60,10 @@ int main(int argc, char **argv) { printf("%.12f\t", (double)counts[i] / total); printf("%.12f\n", (double)counts[width - 1] / total); - free(counts); } } + free(counts); free(line); -- cgit v1.2.3