]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: remerge the list and tree deletion functions
authorWilly Tarreau <w@1wt.eu>
Mon, 2 Nov 2020 18:53:16 +0000 (19:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:27:09 +0000 (19:27 +0100)
commitf1c0892aa6ee28bdaf86ee787059c3add8d7eaec
tree57653e605e1f5c4718bd4ef7443b579d72189438
parent78777ead322e069acf7d8ab5ce1865670e954298
MINOR: pattern: remerge the list and tree deletion functions

pat_del_tree_gen() was already chained onto pat_del_list_gen() to deal
with remaining cases, so let's complete the merge and have a generic
pattern deletion function acting on the reference and taking care of
reliably removing all elements.
include/haproxy/pattern.h
src/http_acl.c
src/pattern.c