From 87f222b6348114239ba01a9a4be5a6304539f2a8 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 26 Oct 2012 10:33:16 -0400 Subject: [PATCH] Fix: lttng create allocated path memleak Signed-off-by: David Goulet --- src/bin/lttng/commands/create.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index 96bb184a7..f92861e47 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -399,6 +399,7 @@ error: if (traces_path) { free(traces_path); } + free(alloc_path); if (ret < 0) { ERR("%s", lttng_strerror(ret)); -- 2.34.1