mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
bug fix for recent memory leak patch
This commit is contained in:
parent
cfe45e0af0
commit
5ce3d1b899
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ int Specific_RE_Matcher::CompileSet(const string_list& set, const int_list& idx)
|
||||||
|
|
||||||
if ( set_nfa != nfa )
|
if ( set_nfa != nfa )
|
||||||
Unref(set_nfa);
|
Unref(set_nfa);
|
||||||
Unref(nfa);
|
else
|
||||||
|
Unref(nfa);
|
||||||
nfa = 0;
|
nfa = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue