aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat')
-rw-r--r--src/plugins/nat/nat.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c
index 896fe5fd59e..3c891f274b5 100644
--- a/src/plugins/nat/nat.c
+++ b/src/plugins/nat/nat.c
@@ -3461,8 +3461,6 @@ snat_det_map_command_fn (vlib_main_t * vm,
}
}
- unformat_free (line_input);
-
rv = snat_det_add_map(sm, &in_addr, (u8) in_plen, &out_addr, (u8)out_plen,
is_add);
@@ -3523,8 +3521,6 @@ snat_det_forward_command_fn (vlib_main_t * vm,
}
}
- unformat_free (line_input);
-
dm = snat_det_map_by_user(sm, &in_addr);
if (!dm)
vlib_cli_output (vm, "no match");
@@ -3584,8 +3580,6 @@ snat_det_reverse_command_fn (vlib_main_t * vm,
}
}
- unformat_free (line_input);
-
if (out_port < 1024 || out_port > 65535)
{
error = clib_error_return (0, "wrong port, must be <1024-65535>");
@@ -3662,8 +3656,6 @@ set_timeout_command_fn (vlib_main_t * vm,
}
}
- unformat_free (line_input);
-
done:
unformat_free (line_input);