Fix: memory leak
authorDavid Goulet <dgoulet@efficios.com>
Wed, 12 Mar 2014 17:40:49 +0000 (13:40 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 12 Mar 2014 17:40:49 +0000 (13:40 -0400)
Fixes coverity issue 1191756.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/save.c

index 0c91239931ad6125049687ea411fad8c52bddea7..d2bf09208e05b3c4a472657d31ea366b4c22ddba 100644 (file)
@@ -1239,6 +1239,7 @@ end_net_output:
                        ret = !output->dst.net.control_isset ?
                                LTTNG_ERR_URL_CTRL_MISS :
                                LTTNG_ERR_URL_DATA_MISS;
+                       free(uri);
                        goto end;
                }
 
This page took 0.03502 seconds and 4 git commands to generate.