aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/control.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-06-24 19:33:40 -0700
committerDave Wallace <dwallacelf@gmail.com>2019-06-25 15:39:10 +0000
commit0bcb931c399faaf2beed8aebf6c752e6d1af8680 (patch)
tree9075bb8e2c9593b85f7a732f9f168b2fbe0361f7 /src/vnet/lisp-cp/control.c
parentf910e51608d5a2a52d4b7e9fefcbfdaaef97f10d (diff)
lisp: move cp tests to unittest
Type: refactor Also reformats and fixes some of the tests. Change-Id: I074c677fd9b28e192f72a2db32f6f2dbda9a314f Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/control.c')
-rw-r--r--src/vnet/lisp-cp/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c
index c54ec577fb4..774eae7352b 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -4360,7 +4360,7 @@ parse_map_reply (vlib_buffer_t * b)
a->is_rloc_probe = MREP_RLOC_PROBE (mrep_hdr);
if (!vlib_buffer_has_space (b, sizeof (*mrep_hdr)))
{
- clib_mem_free (a);
+ map_records_arg_free (a);
return 0;
}
vlib_buffer_pull (b, sizeof (*mrep_hdr));