Browse Source

fix segfault when object cloned

PHP-5.1
Rob Richards 22 years ago
parent
commit
53d0c7a753
  1. 1
      ext/xsl/php_xsl.c

1
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);

Loading…
Cancel
Save