mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Ignore ZEND_FFI_TYPE_OWNED flag
This commit is contained in:
parent
5f13eff4a2
commit
c744531fff
@ -926,7 +926,7 @@ static void *zend_ffi_create_callback(zend_ffi_type *type, zval *value) /* {{{ *
|
||||
n++;
|
||||
} ZEND_HASH_FOREACH_END();
|
||||
}
|
||||
callback_data->ret_type = zend_ffi_get_type(type->func.ret_type);
|
||||
callback_data->ret_type = zend_ffi_get_type(ZEND_FFI_TYPE(type->func.ret_type));
|
||||
if (!callback_data->ret_type) {
|
||||
zend_ffi_return_unsupported(type->func.ret_type);
|
||||
efree(callback_data);
|
||||
|
Loading…
Reference in New Issue
Block a user