mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
move document property struct from xml_common.h
This commit is contained in:
parent
73e6869340
commit
fba57a97ca
2 changed files with 16 additions and 1 deletions
|
@ -952,6 +952,10 @@ int php_libxml_decrement_doc_ref(php_libxml_node_object *object TSRMLS_DC) {
|
|||
xmlFreeDoc((xmlDoc *) object->document->ptr);
|
||||
}
|
||||
if (object->document->doc_props != NULL) {
|
||||
if (object->document->doc_props->classmap) {
|
||||
zend_hash_destroy(object->document->doc_props->classmap);
|
||||
FREE_HASHTABLE(object->document->doc_props->classmap);
|
||||
}
|
||||
efree(object->document->doc_props);
|
||||
}
|
||||
efree(object->document);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue