com php-src: Fixed sxe object clone: ext/simplexml/simplexml.c

From: Date: Mon, 14 Apr 2014 16:10:59 +0000
Subject: com php-src: Fixed sxe object clone: ext/simplexml/simplexml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77405@lists.php.net to get a copy of this message
Commit: 30a974f435c6fcb4becea0fc3ecfc35380048823 Author: Xinchen Hui <laruence@gmail.com> Tue, 15 Apr 2014 00:10:59 +0800 Parents: 1f207e73eb99bde07fc5c75320011424b03ea00e Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=30a974f435c6fcb4becea0fc3ecfc35380048823 Log: Fixed sxe object clone Changed paths: M ext/simplexml/simplexml.c Diff: diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 0b2b5c6..8d3ceb3 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1965,9 +1965,9 @@ static zend_object_handlers sxe_object_handlers = { /* {{{ */ /* {{{ sxe_object_clone() */ static zend_object * -sxe_object_clone(zend_object *object TSRMLS_DC) +sxe_object_clone(zval *object TSRMLS_DC) { - php_sxe_object *sxe = php_sxe_fetch_object(object); + php_sxe_object *sxe = Z_SXEOBJ_P(object); php_sxe_object *clone; xmlNodePtr nodep = NULL; xmlDocPtr docp = NULL;

« previous php.cvs (#77405) next »