summaryrefslogtreecommitdiff
path: root/lib/systemd.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2022-02-10 01:23:41 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2022-02-10 01:23:41 +0300
commit606c3f9fb2e164ea3f2fe87b46f99c4be44104bc (patch)
treefb8438df536c8c5c8aeb9b67316cd5e1307d8ba6 /lib/systemd.c
parentafb254d79235e4a4cf41e761d7c99c030069758b (diff)
bgpd: fix aspath memleak on error in vnc_direct_bgp_add_nve
bgp_attr_default_set creates a new empty aspath. If family error happens, this aspath is not freed. Move attr initialization after we checked the family. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/systemd.c')
0 files changed, 0 insertions, 0 deletions