commit | df288236cd254798be3759fef4cbc3e535f5a1c3 | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Mon Jan 31 02:33:43 2011 +0100 |
committer | Jan Engelhardt <jengelh@medozas.de> | Mon Jan 31 02:36:51 2011 +0100 |
tree | 15a7470494bb0c1f37f40f49018786ab65521728 | |
parent | 298d70e8564f03c844435123bf36e84419c2f65a [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>