From: David Goulet Date: Thu, 7 Jul 2011 15:18:01 +0000 (-0400) Subject: Fix segfault on free() pointer X-Git-Tag: v2.0-pre1~48 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=da561c94285dbd2079662ae8982a7aecac9b245b;p=lttng-tools.git Fix segfault on free() pointer Reported-by: Julien Desfossez Signed-off-by: David Goulet --- diff --git a/lttng/commands/destroy.c b/lttng/commands/destroy.c index 3fd3eb024..d7c01097f 100644 --- a/lttng/commands/destroy.c +++ b/lttng/commands/destroy.c @@ -94,7 +94,6 @@ static int destroy_session() MSG("Session %s destroyed", session_name); } - free(path); ret = CMD_SUCCESS; free_name: