mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Fix reference counting bug in refactored file reassembly code.
This commit is contained in:
parent
f6257618e5
commit
6941538f81
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ void File::RaiseFileOverNewConnection(Connection* conn, bool is_orig)
|
||||||
{
|
{
|
||||||
val_list* vl = new val_list();
|
val_list* vl = new val_list();
|
||||||
vl->append(val->Ref());
|
vl->append(val->Ref());
|
||||||
vl->append(conn->BuildConnVal()->Ref());
|
vl->append(conn->BuildConnVal());
|
||||||
vl->append(new Val(is_orig, TYPE_BOOL));
|
vl->append(new Val(is_orig, TYPE_BOOL));
|
||||||
FileEvent(file_over_new_connection, vl);
|
FileEvent(file_over_new_connection, vl);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue