Skip to content

Commit

Permalink
Merge pull request FRRouting#17192 from donaldsharp/bgp_bmp_stream_leak
Browse files Browse the repository at this point in the history
bgpd: Do not leak a stream with bmp code
  • Loading branch information
riw777 authored Oct 22, 2024
2 parents 0078472 + 9adcff1 commit 8ccd538
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bgpd/bgp_bmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ccd538

Please sign in to comment.