summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2004-08-24 13:33:11 +0000
committerRob Richards <rrichards@php.net>2004-08-24 13:33:11 +0000
commit53d0c7a7539bf8a1e0bdb54fe442d41470b97954 (patch)
tree6402f2ac96fed4e162418fe285de87ce6719ab37
parentbbd6dec20c341b9a9468ab9305b0731da782d5bb (diff)
downloadphp-git-53d0c7a7539bf8a1e0bdb54fe442d41470b97954.tar.gz
fix segfault when object cloned
-rw-r--r--ext/xsl/php_xsl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c
index 18df25fff1..6aa442fb10 100644
--- a/ext/xsl/php_xsl.c
+++ b/ext/xsl/php_xsl.c
@@ -86,6 +86,7 @@ void xsl_objects_clone(void *object, void **object_clone TSRMLS_DC)
clone->parameter = NULL;
clone->hasKeys = intern->hasKeys;
clone->registerPhpFunctions = 0;
+ clone->node_list = NULL;
ALLOC_HASHTABLE(clone->std.properties);
zend_hash_init(clone->std.properties, 0, NULL, ZVAL_PTR_DTOR, 0);