summaryrefslogtreecommitdiffstats
path: root/babeld
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 /babeld
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 'babeld')
-rw-r--r--babeld/babeld.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c
index 6ad004a4a..71bab2fcb 100644
--- a/babeld/babeld.c
+++ b/babeld/babeld.c
@@ -165,7 +165,6 @@ babel_create_routing_process (void)
return 0;
fail:
XFREE(MTYPE_BABEL, babel_routing_process);
- babel_routing_process = NULL;
return -1;
}
@@ -324,7 +323,6 @@ babel_clean_routing_process(void)
distribute_list_delete(&babel_routing_process->distribute_ctx);
XFREE(MTYPE_BABEL, babel_routing_process);
- babel_routing_process = NULL;
}
/* Function used with timeout. */