aboutsummaryrefslogtreecommitdiffstats
path: root/src/vu-concat.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-01-12 00:17:20 +0100
committerMattias Andrée <maandree@kth.se>2017-01-12 00:17:20 +0100
commitec4ee45678679fd1a2b64bebe59b0612eaff2d6e (patch)
tree071bf3c714a1873f559793fa4d97fb688414ea3a /src/vu-concat.c
parentcleanup (diff)
downloadblind-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.c2
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