aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/RESearch.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx
index 6dc5941bb..ce349e395 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -257,6 +257,8 @@ void RESearch::Init() {
pat[i] = 0;
for (int j = 0; j < BITBLK; j++)
bittab[j] = 0;
+ for (int k=0; k<MAXNFA; k++)
+ nfa[k] = 0;
}
void RESearch::Clear() {