summaryrefslogtreecommitdiff
path: root/lib/command.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/command.c
parent84e1268340b71c605772858dc1b5ebc2d577bf85 (diff)
*: don't null after XFREE; XFREE does this itself
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index d2145d9f5a..05bb665657 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2503,8 +2503,6 @@ static void disable_log_file(void)
zlog_reset_file();
XFREE(MTYPE_HOST, host.logfile);
-
- host.logfile = NULL;
}
DEFUN (no_config_log_file,