aboutsummaryrefslogtreecommitdiff
path: root/src/regexp_nfa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r--src/regexp_nfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 74e2f61e76..bdcfa1890d 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -3963,7 +3963,7 @@ skip_add:
subs = &temp_subs;
}
- l->t = realloc(l->t, newlen * sizeof(nfa_thread_T));
+ l->t = xrealloc(l->t, newlen * sizeof(nfa_thread_T));
l->len = newlen;
}