mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Fixing another memory leak.
This is the ConnVal leak that Gilbert also saw.
This commit is contained in:
parent
d3e764155e
commit
eb0580c622
5 changed files with 13 additions and 6 deletions
|
@ -3469,6 +3469,7 @@ Val* SetConstructorExpr::Eval(Frame* f) const
|
|||
{
|
||||
Val* element = exprs[i]->Eval(f);
|
||||
aggr->Assign(element, 0);
|
||||
Unref(element);
|
||||
}
|
||||
|
||||
return aggr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue