summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_bmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_bmp.c b/bgpd/bgp_bmp.c
index 48c5ee7ede..4d9e580a23 100644
--- a/bgpd/bgp_bmp.c
+++ b/bgpd/bgp_bmp.c
@@ -1982,6 +1982,8 @@ static void bmp_bgp_peer_vrf(struct bmp_bgp_peer *bbpeer, struct bgp *bgp)
bbpeer->open_tx_len = open_len;
bbpeer->open_tx = bbpeer->open_rx;
+
+ stream_free(s);
}
/* update the vrf status of the bmpbgp struct for vrf peer up/down