summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_pbr.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2020-02-03 17:22:13 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2020-02-03 17:22:13 +0100
commitb3ba5dc7fe769f3719b2812e4fdb9f8f8271032d (patch)
tree326b49289dd6b1e83c4ff98899983dd4972afff8 /bgpd/bgp_pbr.c
parentMerge pull request #5669 from donaldsharp/nhg_ip (diff)
downloadfrr-b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d.tar.xz
frr-b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d.zip
*: don't null after XFREE; XFREE does this itself
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_pbr.c')
-rw-r--r--bgpd/bgp_pbr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_pbr.c b/bgpd/bgp_pbr.c
index 14f5fefb2..9ced99616 100644
--- a/bgpd/bgp_pbr.c
+++ b/bgpd/bgp_pbr.c
@@ -1260,7 +1260,6 @@ void bgp_pbr_cleanup(struct bgp *bgp)
return;
bgp_pbr_reset(bgp, AFI_IP);
XFREE(MTYPE_PBR, bgp->bgp_pbr_cfg);
- bgp->bgp_pbr_cfg = NULL;
}
void bgp_pbr_init(struct bgp *bgp)