Fixed memory leak

This commit is contained in:
Dmitry Stogov 2014-03-20 01:05:06 +04:00
parent 2909c72b69
commit a6f09e48d7

View File

@ -4441,7 +4441,6 @@ PHP_FUNCTION(array_map)
}
if (!ZEND_FCI_INITIALIZED(fci)) {
zval_add_ref(&params[i]);
add_next_index_zval(&result, &params[i]);
}
}