mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14: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
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
||||||
|
|
||||||
|
2.6-beta2-18 | 2018-10-03 11:09:04 -0500
|
||||||
|
|
||||||
|
* Fix memory leak in broker type checking (Jon Siwek, Corelight)
|
||||||
|
|
||||||
2.6-beta2-17 | 2018-10-02 16:05:10 -0500
|
2.6-beta2-17 | 2018-10-02 16:05:10 -0500
|
||||||
|
|
||||||
* Update testing/btest/README (Jon Siwek, Corelight)
|
* Update testing/btest/README (Jon Siwek, Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.6-beta2-17
|
2.6-beta2-18
|
||||||
|
|
|
@ -684,8 +684,6 @@ struct type_checker {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto list_val = new ListVal(TYPE_ANY);
|
|
||||||
|
|
||||||
for ( auto i = 0u; i < indices_to_check.size(); ++i )
|
for ( auto i = 0u; i < indices_to_check.size(); ++i )
|
||||||
{
|
{
|
||||||
auto expect = (*expected_index_types)[i];
|
auto expect = (*expected_index_types)[i];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue