From 1fb9d4896afaffe3c3d6d7d355017731af0c7c55 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 18 Aug 2003 11:26:12 +0000 Subject: [PATCH] WTF was that doing here? :) Fix crash --- ext/simplexml/simplexml.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index c5084f6950..2f5d04893e 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -179,8 +179,6 @@ next_iter: zval_dtor(return_value); FREE_ZVAL(return_value); return_value = value; - } else { - PZVAL_UNLOCK(return_value); } return return_value; -- 2.50.0