From: Jérémie Galarneau Date: Fri, 11 Jan 2019 20:10:08 +0000 (-0500) Subject: Fix: leak of rundir config string X-Git-Tag: v2.10.6~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9172501ef3279455bebd0f67d5d70c376fba860b;p=lttng-tools.git Fix: leak of rundir config string Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/sessiond-config.c b/src/bin/lttng-sessiond/sessiond-config.c index 72845d0de..90a3b9354 100644 --- a/src/bin/lttng-sessiond/sessiond-config.c +++ b/src/bin/lttng-sessiond/sessiond-config.c @@ -415,6 +415,7 @@ void sessiond_config_fini(struct sessiond_config *config) config_string_fini(&config->tracing_group_name); config_string_fini(&config->kmod_probes_list); config_string_fini(&config->kmod_extra_probes_list); + config_string_fini(&config->rundir); config_string_fini(&config->apps_unix_sock_path); config_string_fini(&config->client_unix_sock_path); config_string_fini(&config->wait_shm_path);