Fix: relayd trace file padding memleak
authorDavid Goulet <dgoulet@efficios.com>
Fri, 26 Oct 2012 15:23:15 +0000 (11:23 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 26 Oct 2012 15:23:15 +0000 (11:23 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/main.c

index 9e6d4bf9fa594dc2f51e93ee2f918360acf994c8..c09c0c52582a45e03e5d7e292167bc907ff3bde6 100644 (file)
@@ -1176,6 +1176,8 @@ static int write_padding_to_file(int fd, uint32_t size)
                PERROR("write padding to file");
        }
 
+       free(zeros);
+
 end:
        return ret;
 }
This page took 0.026795 seconds and 4 git commands to generate.