- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.

This commit is contained in:
Andi Gutmans 1999-12-24 17:39:27 +00:00
parent e28aff2f7a
commit 3bf1b04cb4
12 changed files with 29 additions and 29 deletions

View file

@ -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);