From: Jérémie Galarneau Date: Fri, 20 Dec 2019 06:39:17 +0000 (-0500) Subject: Fix: lttng-clear: invalid free of session name X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=8539125677fb0761db1fa2e4b2118eddd5765868;hp=8539125677fb0761db1fa2e4b2118eddd5765868;ds=sidebyside Fix: lttng-clear: invalid free of session name 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 Change-Id: I194cd36147a1028aad503b4e5d3ea23732a30bc5 ---