Message ID | 1234015193.4441.8.camel@dogo.mojatatu.com |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/tc/m_ipt.c b/tc/m_ipt.c index f5b7b3c..5b98428 100644 --- a/tc/m_ipt.c +++ b/tc/m_ipt.c @@ -162,10 +162,10 @@ int string_to_number(const char *s, unsigned int min, unsigned int max, return result; } -static void free_opts(struct option *opts) +static void free_opts(struct option *local_opts) { - if (opts != original_opts) { - free(opts); + if (local_opts != original_opts) { + free(local_opts); opts = original_opts; global_option_offset = 0; }