From: Stanislav Malyshev Date: Wed, 18 May 2005 18:10:24 +0000 (+0000) Subject: fix for #29890 - part 2 X-Git-Tag: php-5.0.1b1~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92c8c09da5e62808ab9472a6e3eccb4253687c5e;p=php fix for #29890 - part 2 --- diff --git a/Zend/zend.c b/Zend/zend.c index 4371a94f75..daab8eec03 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -967,6 +967,7 @@ ZEND_API void zend_error(int type, const char *format, ...) z_context->value.ht = EG(active_symbol_table); z_context->type = IS_ARRAY; ZVAL_ADDREF(z_context); /* we don't want this one to be freed */ + z_context->is_ref = 1; params = (zval ***) emalloc(sizeof(zval **)*5); params[0] = &z_error_type;