diff options
author | Pierre Joye <pajoye@php.net> | 2011-08-30 05:44:37 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-08-30 05:44:37 +0000 |
commit | 63fa1fb1ca8bf4df1392b89d3bc3edd75c61b802 (patch) | |
tree | d5ba525cdfd724e63fe00b8deddea27bc08e69a2 /ext/libxml | |
parent | 84adf49281d721388b4f9571afad285d73fde497 (diff) | |
download | php-git-63fa1fb1ca8bf4df1392b89d3bc3edd75c61b802.tar.gz |
- ws
Diffstat (limited to 'ext/libxml')
-rw-r--r-- | ext/libxml/libxml.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 512cb34acb..d4b667a221 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -228,9 +228,9 @@ static void php_libxml_node_free_list(xmlNodePtr node TSRMLS_DC) php_libxml_node_free_list((xmlNodePtr) node->properties TSRMLS_CC); break; case XML_ATTRIBUTE_NODE: - if ((node->doc != NULL) && (((xmlAttrPtr) node)->atype == XML_ATTRIBUTE_ID)) { - xmlRemoveID(node->doc, (xmlAttrPtr) node); - } + if ((node->doc != NULL) && (((xmlAttrPtr) node)->atype == XML_ATTRIBUTE_ID)) { + xmlRemoveID(node->doc, (xmlAttrPtr) node); + } case XML_ATTRIBUTE_DECL: case XML_DTD_NODE: case XML_DOCUMENT_TYPE_NODE: |