]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_condition: do not delete variables in `condition_net_exit`
authorJeremy Sowden <jeremy@azazel.net>
Sun, 22 Aug 2021 16:35:55 +0000 (17:35 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 22 Aug 2021 19:39:36 +0000 (21:39 +0200)
commitec2227671b86e093b6548771728f1e7278b9020a
treefd54ff086d28e197c3931b3993f27cbf4f5cb5b6
parenteb14334e468cb38af00a39e57cdd48505f004387
xt_condition: do not delete variables in `condition_net_exit`

`condition_mt_destroy` will be called for every match anyway, so we may
as well do the clean-up then, rather than duplicating it.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
extensions/xt_condition.c