From 92c8c09da5e62808ab9472a6e3eccb4253687c5e Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Wed, 18 May 2005 18:10:24 +0000 Subject: [PATCH] fix for #29890 - part 2 --- Zend/zend.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.40.0