|
@@ -732,8 +732,10 @@ int set_trigger_filter(char *filter_str,
|
|
|
|
|
|
/* The filter is for the 'trigger' event, not the triggered event */
|
|
/* The filter is for the 'trigger' event, not the triggered event */
|
|
ret = create_event_filter(file->event_call, filter_str, false, &filter);
|
|
ret = create_event_filter(file->event_call, filter_str, false, &filter);
|
|
- if (ret)
|
|
|
|
- goto out;
|
|
|
|
|
|
+ /*
|
|
|
|
+ * If create_event_filter() fails, filter still needs to be freed.
|
|
|
|
+ * Which the calling code will do with data->filter.
|
|
|
|
+ */
|
|
assign:
|
|
assign:
|
|
tmp = rcu_access_pointer(data->filter);
|
|
tmp = rcu_access_pointer(data->filter);
|
|
|
|
|