Commit c374a7d3 authored by Max Kellermann's avatar Max Kellermann

filter/chain: return NULL if a filter() method has failed

Don't close child filters in the filter() method.
parent 3679d5bd
......@@ -143,7 +143,7 @@ chain_filter_filter(struct filter *_filter,
into the current one */
src = filter_filter(filter, src, src_size, &src_size, error_r);
if (src == NULL)
chain_close_until(chain, filter);
return NULL;
}
/* return the output of the last filter */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment