summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe/interface.c
diff options
context:
space:
mode:
authorBilly McFall <bmcfall@redhat.com>2017-03-01 17:01:06 -0500
committerDave Barach <openvpp@barachs.net>2017-03-02 12:16:36 +0000
commit614c13161815c2de21c4679cb217da1ebc4fdb76 (patch)
tree0e28e0957a91f1b7b14dd784d1766d6c5b87c66d /src/vnet/lisp-gpe/interface.c
parent738844871220f853629504f61c248f0c9402dc77 (diff)
VPP-648: CLI Memory leak with invalid parameter
After VPP-635 was merged, did one more pass. While the code was waiting to be merged, a few changes were merged to master with the same issue. This is a few additional changes addressing the same issue. See VPP-635. Change-Id: I7abeac5c260c1e2e9d9d318fd1aae24cd6932efc Signed-off-by: Billy McFall <bmcfall@redhat.com>
Diffstat (limited to 'src/vnet/lisp-gpe/interface.c')
-rw-r--r--src/vnet/lisp-gpe/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/lisp-gpe/interface.c b/src/vnet/lisp-gpe/interface.c
index 292c7e6a74e..cbd4d4cd87b 100644
--- a/src/vnet/lisp-gpe/interface.c
+++ b/src/vnet/lisp-gpe/interface.c
@@ -849,7 +849,7 @@ lisp_gpe_add_del_iface_command_fn (vlib_main_t * vm, unformat_input_t * input,
{
lisp_gpe_del_nsh_iface (&lisp_gpe_main);
}
- return (NULL);
+ goto done;
}
if (vrf_is_set && bd_index_is_set)