summaryrefslogtreecommitdiff
path: root/lib/if.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 /lib/if.c
parent84e1268340b71c605772858dc1b5ebc2d577bf85 (diff)
*: don't null after XFREE; XFREE does this itself
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index 7332dceb45..0e9471923f 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -1281,7 +1281,6 @@ void if_link_params_free(struct interface *ifp)
if (ifp->link_params == NULL)
return;
XFREE(MTYPE_IF_LINK_PARAMS, ifp->link_params);
- ifp->link_params = NULL;
}
/* ----------- CLI commands ----------- */