MFB: Fixed Bug #44191 (preg_grep messes up array index)

This commit is contained in:
Felipe Pena 2008-02-20 22:12:17 +00:00
parent d427b55b1a
commit bc8a62f4b1

View File

@ -1771,7 +1771,7 @@ PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return
zend_hash_move_forward(Z_ARRVAL_P(input));
}
zend_hash_internal_pointer_reset(Z_ARRVAL_P(input));
/* Clean up */
efree(offsets);
}