fix 1-byte leak

This commit is contained in:
Antony Dovgal 2004-12-09 15:07:56 +00:00
parent e76824c91f
commit 5dbe3f6f4f

View File

@ -1416,7 +1416,7 @@ PHP_FUNCTION(preg_quote)
/* Nothing to do if we got an empty string */
if (in_str == in_str_end) {
RETVAL_STRINGL("", 0, 1);
RETVAL_STRINGL("", 0, 0);
}
if (ZEND_NUM_ARGS() == 2) {