From b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 3 Feb 2020 11:22:13 -0500 Subject: *: don't null after XFREE; XFREE does this itself Signed-off-by: Quentin Young --- lib/log.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/log.c') diff --git a/lib/log.c b/lib/log.c index 798b776d00..3bb01a3f6e 100644 --- a/lib/log.c +++ b/lib/log.c @@ -934,7 +934,6 @@ int zlog_reset_file(void) zl->maxlvl[ZLOG_DEST_FILE] = ZLOG_DISABLED; XFREE(MTYPE_ZLOG, zl->filename); - zl->filename = NULL; return 1; } -- cgit v1.2.3