]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix memory leak when reconfiguring a route distinguisher 17669/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 18 Dec 2024 15:53:48 +0000 (16:53 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 18 Dec 2024 15:56:15 +0000 (16:56 +0100)
commit0dd96287dda22b79ef6d7424f4e1a8dc92959f92
tree9a47d3db8f3fa49f22d54bc6af8a48a9c792ebf6
parent6c3e1e4fd636e6cdc9a14c4d19de26784a6b890e
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>
bgpd/bgp_vty.c