summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stocker <chregu@php.net>2005-01-17 16:06:57 +0000
committerChristian Stocker <chregu@php.net>2005-01-17 16:06:57 +0000
commitbf2bee53f73b58e0149471d17deabbf843c69047 (patch)
treeccaf43295f0af17ca4c1f6b3fa06d82cd2cd1bc8
parent4984c16261a4a856a1761ff294f579944947805a (diff)
downloadphp-git-bf2bee53f73b58e0149471d17deabbf843c69047.tar.gz
revert these 2 files... shouldn't have been comitted ..
-rw-r--r--ext/xsl/php_xsl.c6
-rw-r--r--ext/xsl/php_xsl.h1
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);