diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-01-12 00:17:20 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-01-12 00:17:20 +0100 |
| commit | ec4ee45678679fd1a2b64bebe59b0612eaff2d6e (patch) | |
| tree | 071bf3c714a1873f559793fa4d97fb688414ea3a /src/vu-concat.c | |
| parent | cleanup (diff) | |
| download | blind-ec4ee45678679fd1a2b64bebe59b0612eaff2d6e.tar.gz blind-ec4ee45678679fd1a2b64bebe59b0612eaff2d6e.tar.bz2 blind-ec4ee45678679fd1a2b64bebe59b0612eaff2d6e.tar.xz | |
Free all allocations at end + use calloc instead of memset
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/vu-concat.c')
| -rw-r--r-- | src/vu-concat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vu-concat.c b/src/vu-concat.c index 08832fa..d71674f 100644 --- a/src/vu-concat.c +++ b/src/vu-concat.c @@ -39,6 +39,8 @@ concat_to_stdout(int argc, char *argv[]) ewriteall(STDOUT_FILENO, streams->buf, streams->ptr, "<stdout>"); close(streams->fd); } + + free(streams); } static void |
