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.12.0-rc1~673 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=16ffecdb7f39efbac8b3866a976ac4e13ad09ff5;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);