diff options
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 27440bb490..6e769e06f0 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -1780,7 +1780,7 @@ static PHP_FUNCTION(preg_quote) /* Reallocate string and return it */ out_str = zend_string_realloc(out_str, q - out_str->val, 0); - RETURN_STR(out_str); + RETURN_NEW_STR(out_str); } /* }}} */ |