mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Fix two memory leaks reported on mailing list.
http://mailman.icsi.berkeley.edu/pipermail/bro/2016-June/010089.html
This commit is contained in:
parent
66e7e4be04
commit
87da09ddca
2 changed files with 9 additions and 0 deletions
|
@ -42,6 +42,8 @@ NFA_State::~NFA_State()
|
|||
{
|
||||
for ( int i = 0; i < xtions.length(); ++i )
|
||||
Unref(xtions[i]);
|
||||
|
||||
delete epsclosure;
|
||||
}
|
||||
|
||||
void NFA_State::AddXtionsTo(NFA_state_list* ns)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue