From 63fa1fb1ca8bf4df1392b89d3bc3edd75c61b802 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 30 Aug 2011 05:44:37 +0000 Subject: - ws --- ext/libxml/libxml.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/libxml') 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: -- cgit v1.2.1