cvs: php4 /ext/domxml php_domxml.c

From: Date: Wed, 19 Sep 2001 02:24:05 +0000
Subject: cvs: php4 /ext/domxml php_domxml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7462@lists.php.net to get a copy of this message
joey Tue Sep 18 22:24:05 2001 EDT Modified files: /php4/ext/domxml php_domxml.c Log: Don't manually register the resource, let php_domobject_new do it for us. This fixes and elusive SIGSEGV. Bug id'd and fixed by Ivo Hulinsky <huld@fido.cz>. This fixes #13322. Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.74 php4/ext/domxml/php_domxml.c:1.75 --- php4/ext/domxml/php_domxml.c:1.74 Sun Sep 9 09:28:46 2001 +++ php4/ext/domxml/php_domxml.c Tue Sep 18 22:24:05 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_domxml.c,v 1.74 2001/09/09 13:28:46 derick Exp $ */ +/* $Id: php_domxml.c,v 1.75 2001/09/19 02:24:05 joey Exp $ */ #ifdef HAVE_CONFIG_H @@ -2270,7 +2270,6 @@ if (!docp) { RETURN_FALSE; } - ret = zend_list_insert(docp, le_domxmldocp); rv = php_domobject_new((xmlNodePtr) docp, &ret TSRMLS_CC); SEPARATE_ZVAL(&rv);

« previous php.cvs (#7462) next »