core: remove alloc_filter_preset() and free_filter_preset()

All users of that are now C++ and don't need these helpers.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-01 22:44:45 +01:00
parent c9a10733d3
commit 37994740ce
6 changed files with 15 additions and 29 deletions

View file

@ -1527,7 +1527,7 @@ static bool entry(const char *name, char *buf, struct parser_state *state)
return true;
}
if (state->cur_filter) {
try_to_fill_filter(state->cur_filter, name, buf);
try_to_fill_filter(state->cur_filter.get(), name, buf);
return true;
}
if (state->event_active) {