mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Merge branch 'PHP-8.5'
* PHP-8.5: ext/zip: ZipArchive callback missing zend_release_fcall_info_cache
This commit is contained in:
@@ -3045,6 +3045,7 @@ PHP_METHOD(ZipArchive, registerProgressCallback)
|
||||
|
||||
/* register */
|
||||
if (zip_register_progress_callback_with_state(intern, rate, php_zip_progress_callback, php_zip_progress_callback_free, obj)) {
|
||||
zend_release_fcall_info_cache(&fcc);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
zend_fcc_dup(&obj->progress_callback, &fcc);
|
||||
@@ -3104,6 +3105,7 @@ PHP_METHOD(ZipArchive, registerCancelCallback)
|
||||
|
||||
/* register */
|
||||
if (zip_register_cancel_callback_with_state(intern, php_zip_cancel_callback, php_zip_cancel_callback_free, obj)) {
|
||||
zend_release_fcall_info_cache(&fcc);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
zend_fcc_dup(&obj->cancel_callback, &fcc);
|
||||
|
||||
Reference in New Issue
Block a user