mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
bgpd: Do not leak a stream with bmp code
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
fd6f46e9fd
commit
9adcff1890
@ -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_len = open_len;
|
||||||
bbpeer->open_tx = bbpeer->open_rx;
|
bbpeer->open_tx = bbpeer->open_rx;
|
||||||
|
|
||||||
|
stream_free(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* update the vrf status of the bmpbgp struct for vrf peer up/down
|
/* update the vrf status of the bmpbgp struct for vrf peer up/down
|
||||||
|
Loading…
Reference in New Issue
Block a user