From: David Goulet Date: Wed, 12 Mar 2014 17:40:49 +0000 (-0400) Subject: Fix: memory leak X-Git-Tag: v2.5.0-rc1~117 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c39270e5164ae28af92157ed428b61a5cdd03f8f;p=lttng-tools.git Fix: memory leak Fixes coverity issue 1191756. Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/save.c b/src/bin/lttng-sessiond/save.c index 0c9123993..d2bf09208 100644 --- a/src/bin/lttng-sessiond/save.c +++ b/src/bin/lttng-sessiond/save.c @@ -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; }