aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cswave.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cswave.c b/cswave.c
index c6534e9..5460839 100644
--- a/cswave.c
+++ b/cswave.c
@@ -213,6 +213,7 @@ static size_t process(FILE* src, size_t column, sample_format fmt, int dst){
samples++;
}
+ free(line);
return samples;
}
@@ -318,7 +319,7 @@ int main(int argc, char** argv){
}
free(normalized);
}
-
+
close(output_fd);
return EXIT_SUCCESS;
}