From: Michael Wallner Date: Fri, 5 Oct 2007 10:30:43 +0000 (+0000) Subject: - remove unnecessary separation crud X-Git-Tag: RELEASE_1_6_0RC1~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8f353a932432afe5f0404e335a7f599a183ca678;p=m6w6%2Fext-http - remove unnecessary separation crud --- diff --git a/http_requestdatashare_object.c b/http_requestdatashare_object.c index 91a2fa6..3b6ff4e 100644 --- a/http_requestdatashare_object.c +++ b/http_requestdatashare_object.c @@ -159,15 +159,9 @@ static void _http_requestdatashare_object_write_prop(zval *object, zval *member, { if (zend_hash_exists(&THIS_CE->default_properties, Z_STRVAL_P(member), Z_STRLEN_P(member)+1)) { int status; - zval *orig = value; getObjectEx(http_requestdatashare_object, obj, object); - SEPARATE_ZVAL_IF_NOT_REF(&value); status = http_request_datashare_set(obj->share, Z_STRVAL_P(member), Z_STRLEN_P(member), (zend_bool) i_zend_is_true(value)); - if (orig != value) { - zval_ptr_dtor(&value); - value = orig; - } if (SUCCESS != status) { return; }