]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: actions: Add a function pointer to release args used by actions
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Dec 2019 10:48:42 +0000 (11:48 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit58b3564fde25cc7be2f97ba095f71e08c5cb33e5
treec52bd492a5b47db07a5075981463e7107de8fe4e
parent95d169ba9a64fa8e160c6806725329df67499e5e
MINOR: actions: Add a function pointer to release args used by actions

Arguments used by actions are never released during HAProxy deinit. Now, it is
possible to specify a function to do so. ".release_ptr" field in the act_rule
structure may be set during the configuration parsing to a specific deinit
function depending on the action type.
include/types/action.h
src/haproxy.c