mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Adding 'delete' fixes into fastpath.
This commit is contained in:
parent
ef96dc8d4d
commit
21e75891b7
2 changed files with 6 additions and 0 deletions
|
@ -951,6 +951,8 @@ bool LogMgr::Write(EnumVal* id, RecordVal* columns)
|
|||
DBG_LOG(DBG_LOGGING, "Wrote record to filter '%s' on stream '%s'",
|
||||
filter->name.c_str(), stream->name.c_str());
|
||||
#endif
|
||||
|
||||
delete[] vals;
|
||||
}
|
||||
|
||||
Unref(columns);
|
||||
|
@ -1041,6 +1043,7 @@ LogVal* LogMgr::ValToLogVal(Val* val, BroType* ty)
|
|||
for ( int i = 0; i < lval->val.set_val.size; i++ )
|
||||
lval->val.set_val.vals[i] = ValToLogVal(set->Index(i));
|
||||
|
||||
delete set;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue