Fix segfault on free() pointer
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 7 Jul 2011 15:18:01 +0000 (11:18 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 7 Jul 2011 15:18:01 +0000 (11:18 -0400)
Reported-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng/commands/destroy.c

index 3fd3eb0247e288aef4782263f6233d68dcc03b98..d7c01097fdf8d03e029102bc03813112a4069c6d 100644 (file)
@@ -94,7 +94,6 @@ static int destroy_session()
                MSG("Session %s destroyed", session_name);
        }
 
-       free(path);
        ret = CMD_SUCCESS;
 
 free_name:
This page took 0.02594 seconds and 4 git commands to generate.