mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/ticket946'
Closes #946. * origin/topic/jsiwek/ticket946: Fix memory leaks resulting from 'when' and 'return when' statements. Fix three bugs with 'when' and 'return when' statements. Addresses #946
This commit is contained in:
commit
d931079021
17 changed files with 265 additions and 70 deletions
|
@ -87,8 +87,11 @@ Frame* Frame::Clone()
|
|||
|
||||
void Frame::SetTrigger(Trigger* arg_trigger)
|
||||
{
|
||||
ClearTrigger();
|
||||
|
||||
if ( arg_trigger )
|
||||
Ref(arg_trigger);
|
||||
|
||||
trigger = arg_trigger;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue