From cdcdb9dd7a59451f2263e268219b3bf28856fac2 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 4 Jul 2013 18:14:33 -0400 Subject: [PATCH] Fix: lttng: memory leak in snapshot record command Signed-off-by: Mathieu Desnoyers --- src/bin/lttng/commands/snapshot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/lttng/commands/snapshot.c b/src/bin/lttng/commands/snapshot.c index cc0dd9629..2a223d445 100644 --- a/src/bin/lttng/commands/snapshot.c +++ b/src/bin/lttng/commands/snapshot.c @@ -348,6 +348,7 @@ static int record(const char *url) } error: + lttng_snapshot_output_destroy(output); return ret; } -- 2.34.1