diff options
author | cbdev <cb@cbcdn.com> | 2021-04-18 16:12:09 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-04-18 16:12:09 +0200 |
commit | 419ab539dd22b11279310745dbf78e5b18f50cce (patch) | |
tree | 480eaa11553170ebd14ff4f44c28113320e4bc21 | |
parent | 9a82789007d626b830f528e476c556e80ff59dcb (diff) | |
download | cswave-419ab539dd22b11279310745dbf78e5b18f50cce.tar.gz cswave-419ab539dd22b11279310745dbf78e5b18f50cce.tar.bz2 cswave-419ab539dd22b11279310745dbf78e5b18f50cce.zip |
Clean up allocations
-rw-r--r-- | cswave.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |