mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Merge branch 'expr_missing_ref' of https://github.com/MaxKellermann/zeek
Updated the Ref() to happen inline with Assign() call for clarity. * 'expr_missing_ref' of https://github.com/MaxKellermann/zeek: Expr: add missing reference in AssignExpr::InitVal()
This commit is contained in:
commit
678115803b
3 changed files with 6 additions and 2 deletions
|
@ -2459,7 +2459,7 @@ Val* AssignExpr::InitVal(const BroType* t, Val* aggr) const
|
|||
if ( ! v )
|
||||
return 0;
|
||||
|
||||
aggr_r->Assign(field, v);
|
||||
aggr_r->Assign(field, v->Ref());
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue