vty_deallocate_custom_table: also reset size

This commit is contained in:
Jonathan Daugherty 2020-03-05 14:19:53 -08:00
parent 0de76e531e
commit e8e3fa3ba8

View File

@ -333,5 +333,6 @@ void vty_deallocate_custom_table()
if ((custom_table != NULL) && (!custom_table_ready)) {
free(custom_table);
custom_table = NULL;
custom_table_size = 0;
}
}