cvs: php4 /ext/domxml php_domxml.c

From: Date: Mon, 05 May 2003 12:56:34 +0000
Subject: cvs: php4 /ext/domxml php_domxml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20706@lists.php.net to get a copy of this message
chregu Mon May 5 08:56:34 2003 EDT Modified files: /php4/ext/domxml php_domxml.c Log: MFB (set the doc property to NULL if no parent is available (by Rob Richards)) Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.252 php4/ext/domxml/php_domxml.c:1.253 --- php4/ext/domxml/php_domxml.c:1.252 Thu Apr 17 20:20:22 2003 +++ php4/ext/domxml/php_domxml.c Mon May 5 08:56:33 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_domxml.c,v 1.252 2003/04/18 00:20:22 iliaa Exp $ */ +/* $Id: php_domxml.c,v 1.253 2003/05/05 12:56:33 chregu Exp $ */ /* TODO * - Support Notation Nodes @@ -744,6 +744,7 @@ if (node->parent == NULL) { /* Attribute Nodes ccontain accessible children attr_list_wrapper_dtor(node->properties); */ + xmlSetTreeDoc(node, NULL); node_list_wrapper_dtor((xmlNodePtr) node->properties, 0 TSRMLS_CC); node_list_wrapper_dtor(node->children, 0 TSRMLS_CC); node_wrapper_dtor(node);

« previous php.cvs (#20706) next »