diff options
Diffstat (limited to 'kernel/trace/trace_events.c')
-rw-r--r-- | kernel/trace/trace_events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 19f61dd23219..fdab30d6c835 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -585,6 +585,7 @@ subsystem_filter_write(struct file *filp, const char __user *ubuf, size_t cnt, | |||
585 | } | 585 | } |
586 | 586 | ||
587 | if (filter_add_subsystem_pred(system, pred)) { | 587 | if (filter_add_subsystem_pred(system, pred)) { |
588 | filter_free_subsystem_preds(system); | ||
588 | filter_free_pred(pred); | 589 | filter_free_pred(pred); |
589 | return -EINVAL; | 590 | return -EINVAL; |
590 | } | 591 | } |