#include <unistd.h>
#include "cmd.h"
-#include "config.h"
+#include "conf.h"
#include "utils.h"
static char *opt_session_name;
MSG("Tracing stopped for session %s", session_name);
free_name:
- free(session_name);
+ if (opt_session_name == NULL) {
+ free(session_name);
+ }
error:
return ret;
}