diff options
author | Rob Richards <rrichards@php.net> | 2004-08-24 13:33:48 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2004-08-24 13:33:48 +0000 |
commit | 077b8f2d25845cec75c33e3b54a62bfb37dbce4c (patch) | |
tree | 81d4766ddc55c3c5478d2f6d7b997e0e397096e6 | |
parent | b6bb43ef94a8a82127da9171ff9070b56e4607e4 (diff) | |
download | php-git-077b8f2d25845cec75c33e3b54a62bfb37dbce4c.tar.gz |
MFH: 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); |