Fix: free running directory string
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 41cdf112687c86fc60af8d832b07684dfc4c49bd..0e20b4f67886dc656e88e5631cce8fc223379205 100644 (file)
@@ -3985,6 +3985,9 @@ int main(int argc, char **argv)
        health_init(&ustconsumer64_data.health);
        health_poll_update(&ustconsumer64_data.health);
 
        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);
        /* Create thread to manage the client socket */
        ret = pthread_create(&health_thread, NULL,
                        thread_manage_health, (void *) NULL);
This page took 0.02446 seconds and 4 git commands to generate.