mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Reset the number of entries in a dict when calling Clear()
This commit is contained in:
parent
a69463ac46
commit
1e499b0831
1 changed files with 1 additions and 0 deletions
|
@ -206,6 +206,7 @@ void Dictionary::Clear()
|
|||
DeInit();
|
||||
tbl = nullptr;
|
||||
tbl2 = nullptr;
|
||||
num_entries = 0;
|
||||
}
|
||||
|
||||
void Dictionary::DeInit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue