summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml.c
diff options
context:
space:
mode:
authorTim Toohey <ttoohey@php.net>2017-06-03 00:38:02 +0200
committerNikita Popov <nikita.ppv@gmail.com>2017-06-03 00:40:58 +0200
commitd027bc2addb4f12e0030532933a2c85c07cdb293 (patch)
treeab11b67b886480a5f6b7c76b73177aee5569091a /ext/libxml/libxml.c
parent95c4564f939c916538579ef63602a3cd31941c51 (diff)
downloadphp-git-d027bc2addb4f12e0030532933a2c85c07cdb293.tar.gz
Fixed bug #69373
xmlNodeSetContentLen() calls xmlFreeNode() on node->children. This causes problems if there are other references around to those children.
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r--ext/libxml/libxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index 12f1c2c3d0..a029b9f477 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -224,7 +224,7 @@ static void php_libxml_node_free(xmlNodePtr node)
}
}
-static void php_libxml_node_free_list(xmlNodePtr node)
+PHP_LIBXML_API void php_libxml_node_free_list(xmlNodePtr node)
{
xmlNodePtr curnode;