mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Clean up queued but unused file_over_new_connections event args.
This commit is contained in:
parent
3d5c17e9e0
commit
1a60fae41c
1 changed files with 6 additions and 1 deletions
|
@ -100,7 +100,12 @@ File::~File()
|
|||
{
|
||||
DBG_LOG(DBG_FILE_ANALYSIS, "Destroying File object %s", id.c_str());
|
||||
Unref(val);
|
||||
assert(fonc_queue.empty());
|
||||
// Queue may not be empty in the case where only content gaps were seen.
|
||||
while ( ! fonc_queue.empty() )
|
||||
{
|
||||
delete_vals(fonc_queue.front().second);
|
||||
fonc_queue.pop();
|
||||
}
|
||||
}
|
||||
|
||||
void File::UpdateLastActivityTime()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue