summaryrefslogtreecommitdiffstats
path: root/lib/ferr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ferr.c')
-rw-r--r--lib/ferr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ferr.c b/lib/ferr.c
index afef196ce..bf89cc7f4 100644
--- a/lib/ferr.c
+++ b/lib/ferr.c
@@ -167,7 +167,7 @@ void log_ref_display(struct vty *vty, uint32_t code, bool json)
json_object_free(top);
}
- list_delete_and_null(&errlist);
+ list_delete(&errlist);
}
DEFUN_NOSH(show_error_code,