X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fsnapshot.c;h=2a223d44509721fedbdbcbe6bc2f3c12da72828a;hb=cdcdb9dd7a59451f2263e268219b3bf28856fac2;hp=cc0dd9629d4d37902a7f6603313b89671ea9584a;hpb=fdf9986c9639bbe13935351a6e3c3137e3160383;p=lttng-tools.git 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; }