Fix: lttng create allocated path memleak
authorDavid Goulet <dgoulet@efficios.com>
Fri, 26 Oct 2012 14:33:16 +0000 (10:33 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 26 Oct 2012 14:33:16 +0000 (10:33 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/create.c

index 96bb184a7bd63a7c654604326ef50e13a23e3f3b..f92861e474c2edfc6869b23b25bde74598fed9f6 100644 (file)
@@ -399,6 +399,7 @@ error:
        if (traces_path) {
                free(traces_path);
        }
+       free(alloc_path);
 
        if (ret < 0) {
                ERR("%s", lttng_strerror(ret));
This page took 0.025898 seconds and 4 git commands to generate.