From 1400a85d14101d8ed140f44011a183f6b5b80d29 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 26 Oct 2012 13:30:08 -0400 Subject: [PATCH] Fix: free running directory string Signed-off-by: David Goulet --- src/bin/lttng-sessiond/main.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.34.1