mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Expr: Fix alloc-dealloc-mismatch
I *thought* Vern had fixed this up, but maybe that was another occurrence.
This commit is contained in:
parent
60e997a3fd
commit
273fb9b79e
1 changed files with 1 additions and 1 deletions
|
@ -2738,7 +2738,7 @@ HasFieldExpr::HasFieldExpr(ExprPtr arg_op, const char* arg_field_name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HasFieldExpr::~HasFieldExpr() { delete field_name; }
|
HasFieldExpr::~HasFieldExpr() { delete[] field_name; }
|
||||||
|
|
||||||
ValPtr HasFieldExpr::Fold(Val* v) const {
|
ValPtr HasFieldExpr::Fold(Val* v) const {
|
||||||
auto rv = v->AsRecordVal();
|
auto rv = v->AsRecordVal();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue