diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 11:22:13 -0500 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 11:22:13 -0500 | 
| commit | b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d (patch) | |
| tree | 326b49289dd6b1e83c4ff98899983dd4972afff8 /ospf6d | |
| parent | 84e1268340b71c605772858dc1b5ebc2d577bf85 (diff) | |
*: 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.c | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c index da42a24252..40a21b37b3 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;  | 
