diff options
-rw-r--r-- | ext/xsl/php_xsl.c | 6 | ||||
-rw-r--r-- | ext/xsl/php_xsl.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index 4303e0140f..904739a265 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -83,11 +83,6 @@ void xsl_objects_free_storage(void *object TSRMLS_DC) FREE_HASHTABLE(intern->node_list); } - if (intern->doc) { - php_libxml_decrement_doc_ref(intern->doc TSRMLS_CC); - efree(intern->doc); - } - if (intern->ptr) { /* free wrapper */ if (((xsltStylesheetPtr) intern->ptr)->_private != NULL) { @@ -117,7 +112,6 @@ zend_object_value xsl_objects_new(zend_class_entry *class_type TSRMLS_DC) intern->hasKeys = 0; intern->registerPhpFunctions = 0; intern->node_list = NULL; - intern->doc = NULL; ALLOC_HASHTABLE(intern->std.properties); zend_hash_init(intern->std.properties, 0, NULL, ZVAL_PTR_DTOR, 0); diff --git a/ext/xsl/php_xsl.h b/ext/xsl/php_xsl.h index 9995e496ac..fb607659d7 100644 --- a/ext/xsl/php_xsl.h +++ b/ext/xsl/php_xsl.h @@ -58,7 +58,6 @@ typedef struct _xsl_object { int hasKeys; int registerPhpFunctions; HashTable *node_list; - php_libxml_node_object *doc; } xsl_object; void php_xsl_set_object(zval *wrapper, void *obj TSRMLS_DC); |