Fix: resource leak in enable-event command
[lttng-tools.git] / src / bin / lttng / commands / enable_events.c
index 18793ae095a77cbe8365f09ac0576a06011ea407..8255733033e33580769d09175a49fa99340fa749 100644 (file)
@@ -605,6 +605,7 @@ static int enable_events(char *session_name)
                                                        opt_filter);
                                        break;
                                }
+                               free(exclusion_string);
                                goto error;
                        } else {
                                MSG("Filter '%s' successfully set", opt_filter);
This page took 0.024103 seconds and 4 git commands to generate.