From da561c94285dbd2079662ae8982a7aecac9b245b Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 7 Jul 2011 11:18:01 -0400 Subject: [PATCH] Fix segfault on free() pointer Reported-by: Julien Desfossez Signed-off-by: David Goulet --- lttng/commands/destroy.c | 1 - 1 file changed, 1 deletion(-) 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: -- 2.34.1