cvs: php-src(PHP_5_0) /ext/xsl php_xsl.c php_xsl.h
| From: | Christian Stocker | Date: | Mon, 17 Jan 2005 16:06:57 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/xsl php_xsl.c php_xsl.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-29926@lists.php.net to get a copy of this message | ||
chregu Mon Jan 17 11:06:57 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/xsl php_xsl.c php_xsl.h
Log:
revert these 2 files... shouldn't have been comitted ..
http://cvs.php.net/diff.php/php-src/ext/xsl/php_xsl.c?r1=1.22.2.5&r2=1.22.2.6&ty=u
Index: php-src/ext/xsl/php_xsl.c
diff -u php-src/ext/xsl/php_xsl.c:1.22.2.5 php-src/ext/xsl/php_xsl.c:1.22.2.6
--- php-src/ext/xsl/php_xsl.c:1.22.2.5 Mon Jan 17 11:01:35 2005
+++ php-src/ext/xsl/php_xsl.c Mon Jan 17 11:06:57 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_xsl.c,v 1.22.2.5 2005/01/17 16:01:35 chregu Exp $ */
+/* $Id: php_xsl.c,v 1.22.2.6 2005/01/17 16:06:57 chregu Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -83,11 +83,6 @@
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 @@
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);
http://cvs.php.net/diff.php/php-src/ext/xsl/php_xsl.h?r1=1.10.2.3&r2=1.10.2.4&ty=u
Index: php-src/ext/xsl/php_xsl.h
diff -u php-src/ext/xsl/php_xsl.h:1.10.2.3 php-src/ext/xsl/php_xsl.h:1.10.2.4
--- php-src/ext/xsl/php_xsl.h:1.10.2.3 Mon Jan 17 11:01:35 2005
+++ php-src/ext/xsl/php_xsl.h Mon Jan 17 11:06:57 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_xsl.h,v 1.10.2.3 2005/01/17 16:01:35 chregu Exp $ */
+/* $Id: php_xsl.h,v 1.10.2.4 2005/01/17 16:06:57 chregu Exp $ */
#ifndef PHP_XSL_H
#define PHP_XSL_H
@@ -58,7 +58,6 @@
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);