Fix: lttng-clear: invalid free of session name
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 Dec 2019 06:39:17 +0000 (01:39 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 Dec 2019 07:16:26 +0000 (02:16 -0500)
Valgrind reports an invalid free of session_name when it is sourced
from the popt args. Only free it when it comes from the .lttngrc file.

This also caused spurious core dumps when running the tests on
one of my machines.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I194cd36147a1028aad503b4e5d3ea23732a30bc5


No differences found
This page took 0.026203 seconds and 5 git commands to generate.