Fix: free running directory string
authorDavid Goulet <dgoulet@efficios.com>
Fri, 26 Oct 2012 17:30:08 +0000 (13:30 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 26 Oct 2012 17:30:08 +0000 (13:30 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
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);
 
+       /* Not needed anymore. */
+       free(rundir);
+
        /* Create thread to manage the client socket */
        ret = pthread_create(&health_thread, NULL,
                        thread_manage_health, (void *) NULL);
This page took 0.02761 seconds and 4 git commands to generate.