From ec4ee45678679fd1a2b64bebe59b0612eaff2d6e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 12 Jan 2017 00:17:20 +0100 Subject: Free all allocations at end + use calloc instead of memset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/vu-concat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vu-concat.c') 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, ""); close(streams->fd); } + + free(streams); } static void -- cgit v1.2.3-70-g09d2