Fix: Cleanup URIs on teardown
authorDavid Goulet <dgoulet@efficios.com>
Fri, 26 Oct 2012 17:09:29 +0000 (13:09 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 26 Oct 2012 17:09:29 +0000 (13:09 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/main.c

index 152e4bbc86911a00a53f8598e472e7b1545736eb..a398a54dc6611725361c683ef6b288d2de4d48e5 100644 (file)
@@ -241,6 +241,9 @@ void cleanup(void)
 
        /* Close relay cmd pipes */
        utils_close_pipe(relay_cmd_pipe);
+
+       uri_free(control_uri);
+       uri_free(data_uri);
 }
 
 /*
This page took 0.02678 seconds and 4 git commands to generate.