From c39270e5164ae28af92157ed428b61a5cdd03f8f Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 12 Mar 2014 13:40:49 -0400 Subject: [PATCH] Fix: memory leak Fixes coverity issue 1191756. Signed-off-by: David Goulet --- src/bin/lttng-sessiond/save.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.34.1