Fix: memory leak in userspace probe param parsing
[lttng-tools.git] / src / bin / lttng / commands / enable_events.c
index d973c5f6e1cc3579998aead3e2fba656f96ad428..48fa614bdc10750a7a2d9ae3639fdbfa741bbf6f 100644 (file)
@@ -468,7 +468,7 @@ static int parse_userspace_probe_opts(struct lttng_event *ev, char *opt)
                break;
        default:
                ret = CMD_ERROR;
-               goto end_string;
+               goto end_free_path;
        }
 
        switch (ev->type) {
This page took 0.023623 seconds and 4 git commands to generate.