diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 0b75ec261e..cc46b85bd2 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -1604,7 +1604,7 @@ static void svd_nh_del_terminate(void *ptr) struct zebra_neigh *n = ptr; n->refcnt = 0; - svd_nh_del(n); + XFREE(MTYPE_L3NEIGH, n); }