aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);