From 53d0c7a7539bf8a1e0bdb54fe442d41470b97954 Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Tue, 24 Aug 2004 13:33:11 +0000 Subject: fix segfault when object cloned --- ext/xsl/php_xsl.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1