aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-11-06 11:25:10 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2013-11-06 11:25:10 -0500
commit62343db316259d551ba5924148ef728b9909e6a5 (patch)
treee3af1d96c208b90113393c48a91a4a0ffa7424f3
parent073d771958ff5ca8ea75643e3eec3d2395706cab (diff)
fix free
-rw-r--r--kmer_frequency_per_sequence.c2
1 files changed, 1 insertions, 1 deletions
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);