From c698e14635156e8d55187728943f5d48573fe8f4 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sat, 19 Aug 2000 15:16:53 +0000 Subject: [PATCH] - Beautify --- Zend/zend_execute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index d4ee94ff83a..2c197f62328 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1411,8 +1411,8 @@ binary_assign_op_addr: { if (opline->extended_value & ZEND_CTOR_CALL) { /* constructor call */ - if (opline->op1.op_type == IS_VAR && !(opline->op1.u.EA.type & EXT_TYPE_UNUSED)) { - PZVAL_LOCK(*Ts[opline->op1.u.var].var.ptr_ptr); + if (opline->op1.op_type == IS_VAR) { + SELECTIVE_PZVAL_LOCK(*Ts[opline->op1.u.var].var.ptr_ptr, &opline->op1); } if (opline->op2.op_type==IS_VAR) { PZVAL_LOCK(*Ts[opline->op2.u.var].var.ptr_ptr);