summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2020-02-03 11:22:13 -0500
committerQuentin Young <qlyoung@cumulusnetworks.com>2020-02-03 11:22:13 -0500
commitb3ba5dc7fe769f3719b2812e4fdb9f8f8271032d (patch)
tree326b49289dd6b1e83c4ff98899983dd4972afff8 /ospfd/ospf_interface.c
parent84e1268340b71c605772858dc1b5ebc2d577bf85 (diff)
*: don't null after XFREE; XFREE does this itself
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_interface.c')
-rw-r--r--ospfd/ospf_interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c
index 8efb32af37..3eb03f53c4 100644
--- a/ospfd/ospf_interface.c
+++ b/ospfd/ospf_interface.c
@@ -694,7 +694,6 @@ static int ospf_if_delete_hook(struct interface *ifp)
ospf_del_if_params((struct ospf_if_params *)IF_DEF_PARAMS(ifp));
XFREE(MTYPE_OSPF_IF_INFO, ifp->info);
- ifp->info = NULL;
return rc;
}