diff -Naur iproute2-original/tc/m_ipt.c iproute2-patched2/tc/m_ipt.c --- iproute2-original/tc/m_ipt.c 2008-08-05 19:15:56.000000000 +0000 +++ iproute2-patched2/tc/m_ipt.c 2008-08-05 19:22:55.000000000 +0000 @@ -162,10 +162,10 @@ return result; } -static void free_opts(struct option *opts) +static void free_opts(struct option *opts_local) { - if (opts != original_opts) { - free(opts); + if (opts_local != original_opts) { + free(opts_local); opts = original_opts; global_option_offset = 0; }