diff --git a/lib/vty.c b/lib/vty.c index a39fe9f41b..f387e79104 100644 --- a/lib/vty.c +++ b/lib/vty.c @@ -3195,6 +3195,8 @@ vty_terminate (void) vty_reset (); vector_free (vtyvec); vector_free (Vvty_serv_thread); + vtyvec = NULL; + Vvty_serv_thread = NULL; } }