diff options
author | Rob Richards <rrichards@php.net> | 2004-08-24 13:33:11 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2004-08-24 13:33:11 +0000 |
commit | 53d0c7a7539bf8a1e0bdb54fe442d41470b97954 (patch) | |
tree | 6402f2ac96fed4e162418fe285de87ce6719ab37 | |
parent | bbd6dec20c341b9a9468ab9305b0731da782d5bb (diff) | |
download | php-git-53d0c7a7539bf8a1e0bdb54fe442d41470b97954.tar.gz |
fix segfault when object cloned
-rw-r--r-- | ext/xsl/php_xsl.c | 1 |
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); |