Clean up queued but unused file_over_new_connections event args.

This commit is contained in:
Jon Siwek 2013-07-11 11:28:55 -05:00
parent 3d5c17e9e0
commit 1a60fae41c

View file

@ -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()