Fix: lttng: memory leak in snapshot record command
[lttng-tools.git] / src / bin / lttng / commands / snapshot.c
index cc0dd9629d4d37902a7f6603313b89671ea9584a..2a223d44509721fedbdbcbe6bc2f3c12da72828a 100644 (file)
@@ -348,6 +348,7 @@ static int record(const char *url)
        }
 
 error:
+       lttng_snapshot_output_destroy(output);
        return ret;
 }
 
This page took 0.025548 seconds and 5 git commands to generate.