diff options
Diffstat (limited to 'src/pcresearch.c')
-rw-r--r-- | src/pcresearch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcresearch.c b/src/pcresearch.c index 52db9878..e8c7f4b3 100644 --- a/src/pcresearch.c +++ b/src/pcresearch.c @@ -44,7 +44,7 @@ Pcompile (char const *pattern, size_t size) #else int e; char const *ep; - char *re = xmalloc (4 * size + 7); + char *re = xnmalloc (4, size + 7); int flags = PCRE_MULTILINE | (match_icase ? PCRE_CASELESS : 0); char const *patlim = pattern + size; char *n = re; |