summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-02-05 01:49:08 -0300
committerGitHub <noreply@github.com>2020-02-05 01:49:08 -0300
commitecaeb3b697bfcd46fe4ee7a519fdebb69c7318f9 (patch)
treed631ffc455be41355b1f6f763958a4cfbcf4a5d5 /ospfd/ospf_interface.c
parent8f6ebcbeb2455855a0e9dd2946d48e8db23f7192 (diff)
parente1b36e132b7eda2d230f2f95945e231df37a42f5 (diff)
Merge pull request #5750 from qlyoung/fix-null-after-xfree
*: don't null after XFREE; XFREE does this itself
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;
}