MINOR: pattern: prepare removal of a pattern from the list head
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Nov 2020 10:22:04 +0000 (11:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:27:09 +0000 (19:27 +0100)
commit867a8a5a10ba7e15000dc58f5edf386f6d631a3e
treeb82bf2c06aaa7deee4a19d1cc8020a4f1cb66926
parent2817472bb07ae1b5f8a0f73aa154ea5ec6c193bc
MINOR: pattern: prepare removal of a pattern from the list head

Instead of using LIST_DEL() on the pattern itself inside an expression,
we look it up from its head. The goal is to get rid of the double-linked
list while this usage remains exclusively for freeing on startup error!
src/pattern.c