mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Fix memory leak in broker type checking
This commit is contained in:
parent
98181dd67c
commit
3c395aa22d
3 changed files with 5 additions and 3 deletions
|
@ -684,8 +684,6 @@ struct type_checker {
|
|||
return false;
|
||||
}
|
||||
|
||||
auto list_val = new ListVal(TYPE_ANY);
|
||||
|
||||
for ( auto i = 0u; i < indices_to_check.size(); ++i )
|
||||
{
|
||||
auto expect = (*expected_index_types)[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue