summaryrefslogtreecommitdiff
path: root/ext/libxml
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-08-30 05:44:37 +0000
committerPierre Joye <pajoye@php.net>2011-08-30 05:44:37 +0000
commit63fa1fb1ca8bf4df1392b89d3bc3edd75c61b802 (patch)
treed5ba525cdfd724e63fe00b8deddea27bc08e69a2 /ext/libxml
parent84adf49281d721388b4f9571afad285d73fde497 (diff)
downloadphp-git-63fa1fb1ca8bf4df1392b89d3bc3edd75c61b802.tar.gz
- ws
Diffstat (limited to 'ext/libxml')
-rw-r--r--ext/libxml/libxml.c6
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: