From: Antony Dovgal Date: Thu, 11 May 2006 22:41:37 +0000 (+0000) Subject: no need to destroy the zval here X-Git-Tag: php-5.2.0RC1~579 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7412202c43e74d24c55669dedc36542e43b4f2bb;p=php no need to destroy the zval here --- diff --git a/Zend/zend.c b/Zend/zend.c index b1a94ce2ab..cf54baaa58 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -248,7 +248,6 @@ ZEND_API void zend_make_printable_zval(zval *expr, zval *expr_copy, int *use_cop } } zend_error(EG(exception) ? E_ERROR : E_RECOVERABLE_ERROR, "Object of class %s could not be converted to string", Z_OBJCE_P(expr)->name); - zval_dtor(expr_copy); expr_copy->value.str.len = 0; expr_copy->value.str.val = STR_EMPTY_ALLOC(); }