diff options
author | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-12-15 22:15:47 +0100 |
---|---|---|
committer | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-12-15 22:15:47 +0100 |
commit | 3d57c99404bf5490ddcd803e24594000e10f2731 (patch) | |
tree | d5cd16166dff70a3cece57b2450fefd059993f92 /bgpd/bgp_main.c | |
parent | bgpd: solve valgrind issues in bgp_evpn_cleanup (diff) | |
download | frr-3d57c99404bf5490ddcd803e24594000e10f2731.tar.xz frr-3d57c99404bf5490ddcd803e24594000e10f2731.zip |
bgpd: rd_idspace should be freed in bgp_exit
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r-- | bgpd/bgp_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 7dd4253b2..a720d31a7 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -221,6 +221,7 @@ static __attribute__((__noreturn__)) void bgp_exit(int status) #endif bgp_zebra_destroy(); + bf_free(bm->rd_idspace); list_delete_and_null(&bm->bgp); memset(bm, 0, sizeof(*bm)); |