mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 08:49:40 +03:00
vty_deallocate_custom_table: also reset size
This commit is contained in:
parent
0de76e531e
commit
e8e3fa3ba8
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user