mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
This commit is contained in:
parent
e28aff2f7a
commit
3bf1b04cb4
12 changed files with 29 additions and 29 deletions
|
@ -500,7 +500,7 @@ JNIEXPORT void JNICALL Java_net_php_reflect_setResultFromObject
|
|||
zend_hash_init(presult->value.obj.properties, 0, NULL, ZVAL_PTR_DTOR, 0);
|
||||
};
|
||||
|
||||
handle = (pval *) emalloc(sizeof(pval));
|
||||
handle = ALLOC_ZVAL();
|
||||
handle->type = IS_LONG;
|
||||
handle->value.lval =
|
||||
zend_list_insert((*jenv)->NewGlobalRef(jenv,value), le_jobject);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue