diff options
Diffstat (limited to 'xtables.c')
-rw-r--r-- | xtables.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -75,7 +75,8 @@ void basic_exit_err(enum xtables_exittype status, const char *msg, ...) void xtables_free_opts(int unused) { - free(xt_params->opts); + if (xt_params->opts != xt_params->orig_opts) + free(xt_params->opts); } struct option *xtables_merge_options(struct option *orig_opts, |