com php-src: fixed refcounting: ext/soap/php_packet_soap. c

From: Date: Thu, 15 May 2014 08:34:04 +0000
Subject: com php-src: fixed refcounting: ext/soap/php_packet_soap. c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78369@lists.php.net to get a copy of this message
Commit: 88ba312808651be4d18275ed60e9cc4233cb572c Author: Dmitry Stogov <dmitry@zend.com> Thu, 15 May 2014 12:34:04 +0400 Parents: 5e7e299a344621f17ad31c948a94253e49826ed5 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=88ba312808651be4d18275ed60e9cc4233cb572c Log: fixed refcounting Changed paths: M ext/soap/php_packet_soap.c Diff: diff --git a/ext/soap/php_packet_soap.c b/ext/soap/php_packet_soap.c index 07bda29..218dadb 100644 --- a/ext/soap/php_packet_soap.c +++ b/ext/soap/php_packet_soap.c @@ -381,7 +381,7 @@ int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunction zend_hash_internal_pointer_reset(Z_ARRVAL_P(return_value)); tmp = zend_hash_get_current_data(Z_ARRVAL_P(return_value)); if (!Z_REFCOUNTED_P(return_value)) { - ZVAL_COPY_VALUE(return_value, tmp); + ZVAL_COPY(return_value, tmp); } else { zend_refcounted *garbage = Z_COUNTED_P(return_value); ZVAL_COPY(return_value, tmp);

« previous php.cvs (#78369) next »