summaryrefslogtreecommitdiffstats
path: root/ospf6d
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 /ospf6d
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 'ospf6d')
-rw-r--r--ospf6d/ospf6_message.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c
index da42a2425..40a21b37b 100644
--- a/ospf6d/ospf6_message.c
+++ b/ospf6d/ospf6_message.c
@@ -1518,12 +1518,10 @@ void ospf6_message_terminate(void)
{
if (recvbuf) {
XFREE(MTYPE_OSPF6_MESSAGE, recvbuf);
- recvbuf = NULL;
}
if (sendbuf) {
XFREE(MTYPE_OSPF6_MESSAGE, sendbuf);
- sendbuf = NULL;
}
iobuflen = 0;