summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 4d34fead8b..c6fc1e1b14 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -3121,6 +3121,8 @@ vty_terminate (void)
vty_reset ();
vector_free (vtyvec);
vector_free (Vvty_serv_thread);
+ vtyvec = NULL;
+ Vvty_serv_thread = NULL;
}
}