Merge pull request #17192 from donaldsharp/bgp_bmp_stream_leak

bgpd: Do not leak a stream with bmp code
This commit is contained in:
Russ White 2024-10-22 16:16:57 -04:00 committed by GitHub
commit 8ccd538847
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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