summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-01-31 02:33:43 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-01-31 02:36:51 +0100
commitdf288236cd254798be3759fef4cbc3e535f5a1c3 (patch)
tree15a7470494bb0c1f37f40f49018786ab65521728 /extensions
parent298d70e8564f03c844435123bf36e84419c2f65a (diff)
xtables: set custom opts to NULL on free
When inside ip6tables-restore, xtables_free_opts can be called multiple times, especially when trying to exit with an error message from outside do_command. So set it to NULL so that we do not attempt to free a dangling pointer. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions')
0 files changed, 0 insertions, 0 deletions