mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +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();
|
DeInit();
|
||||||
tbl = nullptr;
|
tbl = nullptr;
|
||||||
tbl2 = nullptr;
|
tbl2 = nullptr;
|
||||||
|
num_entries = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Dictionary::DeInit()
|
void Dictionary::DeInit()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue