pcrs_filter_response(): Free the old data if there are no hits
authorFabian Keil <fk@fabiankeil.de>
Thu, 24 Sep 2020 08:44:00 +0000 (10:44 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sat, 26 Sep 2020 09:32:39 +0000 (11:32 +0200)
commit5cfb7bc8feecc82eb161450faa572abf9be19cbb
treefd7aae2fcba582f9b1d1793a3a7c2edaa9beacbf
parentc7737d969bb640f8d13f14152e76cf3bc3850bc9
pcrs_filter_response(): Free the old data if there are no hits

... and it's different from the data in iob and the new data.

Fixes a memory leak if multiple filters are executed
and the last one is skipped due to a pcre error.
filters.c