From: Christian Stocker Date: Mon, 17 Jan 2005 16:06:57 +0000 (+0000) Subject: revert these 2 files... shouldn't have been comitted .. X-Git-Tag: php-5.0.4RC1~333 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf2bee53f73b58e0149471d17deabbf843c69047;p=php revert these 2 files... shouldn't have been comitted .. --- 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);