diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 17:22:13 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 17:22:13 +0100 |
commit | b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d (patch) | |
tree | 326b49289dd6b1e83c4ff98899983dd4972afff8 /ripd | |
parent | Merge pull request #5669 from donaldsharp/nhg_ip (diff) | |
download | frr-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 'ripd')
-rw-r--r-- | ripd/rip_interface.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index 4d4874060..d07cc894a 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -1210,7 +1210,6 @@ static int rip_interface_delete_hook(struct interface *ifp) { rip_interface_reset(ifp->info); XFREE(MTYPE_RIP_INTERFACE, ifp->info); - ifp->info = NULL; return 0; } |