]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix memory leak when reconfiguring a route distinguisher
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 18 Dec 2024 15:53:48 +0000 (16:53 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 20 Dec 2024 14:16:07 +0000 (14:16 +0000)
commitfee57833d7870912e5c3b32cb787ec7ca9301ed8
tree06309b5f0ee198635f07d1448cdaea216e954a22
parent80f5df3f09a19c4a8f52b43c55fe9885b9ce42a1
bgpd: fix memory leak when reconfiguring a route distinguisher

A memory leak happens when reconfiguring an already configured route
distinguisher on an L3VPN BGP instance. Fix this by freeing the previous
route distinguisher.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
(cherry picked from commit 0dd96287dda22b79ef6d7424f4e1a8dc92959f92)
bgpd/bgp_vty.c