mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
binpac: Fix double-free.
The field is deleted by a base class dtor.
This commit is contained in:
parent
61cc83affa
commit
871541e636
1 changed files with 0 additions and 1 deletions
|
@ -133,7 +133,6 @@ LetDecl::LetDecl(ID *id, Type *type, Expr *expr)
|
||||||
|
|
||||||
LetDecl::~LetDecl()
|
LetDecl::~LetDecl()
|
||||||
{
|
{
|
||||||
delete id_;
|
|
||||||
delete type_;
|
delete type_;
|
||||||
delete expr_;
|
delete expr_;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue