summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-05-11 22:41:37 +0000
committerAntony Dovgal <tony2001@php.net>2006-05-11 22:41:37 +0000
commit7412202c43e74d24c55669dedc36542e43b4f2bb (patch)
treec2aa3040c2277b8be3e475ddf222cee49dc028da /Zend/zend.c
parentca923a2caee8d8d0bc3288081faacc83ee497d3e (diff)
downloadphp-git-7412202c43e74d24c55669dedc36542e43b4f2bb.tar.gz
no need to destroy the zval here
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c1
1 files changed, 0 insertions, 1 deletions
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();
}