From de86cc5bb14a3c69183943854822c61886458088 Mon Sep 17 00:00:00 2001 From: Anuradha Karuppiah Date: Fri, 8 May 2020 19:18:01 -0700 Subject: [PATCH] zebra: free up the L2 NHG bitmap as a part of shutdown Fix for a shutdown time memory leak found during review. Signed-off-by: Anuradha Karuppiah --- zebra/zebra_evpn_mh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zebra_evpn_mh.c b/zebra/zebra_evpn_mh.c index 342cf4ff1d..969b3d2df3 100644 --- a/zebra/zebra_evpn_mh.c +++ b/zebra/zebra_evpn_mh.c @@ -3228,4 +3228,5 @@ void zebra_evpn_mh_terminate(void) hash_iterate(zmh_info->evpn_vlan_table, zebra_evpn_acc_vl_cleanup_all, NULL); hash_free(zmh_info->evpn_vlan_table); + bf_free(zmh_info->nh_id_bitmap); } -- 2.39.5