MINOR: pattern: perform a single call to pat_delete_gen() under the expression
authorWilly Tarreau <w@1wt.eu>
Mon, 2 Nov 2020 19:15:40 +0000 (20:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:27:09 +0000 (19:27 +0100)
commite828d8f0e8b88b8ee16e2cc5293025220d0b9265
tree180771e2c6ffb81175fcc4c689c246d9ace53fba
parentf1c0892aa6ee28bdaf86ee787059c3add8d7eaec
MINOR: pattern: perform a single call to pat_delete_gen() under the expression

When we're removing an element under the expression lock, we don't need
anymore to run over all ->delete() functions via the expressions, since
we know that the single function does it fine now. Note that at this
point, pattern->delete() is not used at all through out the code anymore.
src/pattern.c