[PATCH 5.4 347/434] libtraceevent: Fix memory leakage in copy_filter_type