]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix aspath memory leak
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 8 Sep 2021 18:08:08 +0000 (21:08 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 8 Sep 2021 20:37:50 +0000 (23:37 +0300)
commitab798674c0e008c68f344c79011ed46cb5792a11
tree10c9ab37dac00e005ae48d7ac9032b77c076784c
parentbf844bac67a32941a311c9e986282f36ee58f0a5
bgpd: fix aspath memory leak

We allocate an as-path using bgp_attr_default_set and should free it
before exiting the function.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_updgrp_adv.c