Fix: memory leak
[lttng-tools.git] / 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.02374 seconds and 4 git commands to generate.