From: David Goulet Date: Fri, 26 Oct 2012 17:30:08 +0000 (-0400) Subject: Fix: free running directory string X-Git-Tag: v2.1.0-rc6~10 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=1400a85d14101d8ed140f44011a183f6b5b80d29;hp=659ed79f6b4a6ebbe7219a0fd4a347d24d62c545;ds=sidebyside Fix: free running directory string Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 41cdf1126..0e20b4f67 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -3985,6 +3985,9 @@ int main(int argc, char **argv) health_init(&ustconsumer64_data.health); health_poll_update(&ustconsumer64_data.health); + /* Not needed anymore. */ + free(rundir); + /* Create thread to manage the client socket */ ret = pthread_create(&health_thread, NULL, thread_manage_health, (void *) NULL);