CLEANUP: stick-table: make the file location point to a global file name
authorWilly Tarreau <w@1wt.eu>
Thu, 19 Sep 2024 13:06:09 +0000 (15:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Sep 2024 13:38:19 +0000 (15:38 +0200)
commit9ab21a3c2d07c29c72d0c230778d224458af51a2
treecc9893c7d20a823899efda4682a95424d533eae0
parentd6c060c5aec777c82d58341a47a991ef1a573116
CLEANUP: stick-table: make the file location point to a global file name

The file name used to point to the calling function's stack for stick
tables, which was OK during parsing but remained dangling afterwards.
At least it was already marked const so as not to accidentally free it.
Let's make it point to a file_name_node now.
include/haproxy/stick_table-t.h
src/stick_table.c