Fix: lttng create allocated path memleak
[lttng-tools.git] / src / bin / lttng / commands / create.c
index 96bb184a7bd63a7c654604326ef50e13a23e3f3b..f92861e474c2edfc6869b23b25bde74598fed9f6 100644 (file)
@@ -399,6 +399,7 @@ error:
        if (traces_path) {
                free(traces_path);
        }
+       free(alloc_path);
 
        if (ret < 0) {
                ERR("%s", lttng_strerror(ret));
This page took 0.0227 seconds and 4 git commands to generate.