Skip to content

Commit

Permalink
bug fix for recent memory leak patch
Browse files Browse the repository at this point in the history
  • Loading branch information
vpax committed Jun 29, 2018
1 parent cfe45e0 commit 5ce3d1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RE.cc
Expand Up @@ -168,7 +168,8 @@ int Specific_RE_Matcher::CompileSet(const string_list& set, const int_list& idx)

if ( set_nfa != nfa )
Unref(set_nfa);
Unref(nfa);
else
Unref(nfa);
nfa = 0;

return 0;
Expand Down

0 comments on commit 5ce3d1b

Please sign in to comment.