diff options
author | andrey <andrey@php.net> | 2012-06-29 14:40:41 +0300 |
---|---|---|
committer | andrey <andrey@php.net> | 2012-06-29 14:40:41 +0300 |
commit | 1ac611f24f03728e4d9cd717e83331e2e17184d2 (patch) | |
tree | 69dceee0471cad1a1c518e8333f0b908e52aa454 /ext/sqlite/sqlite.c | |
parent | f826ea093f8317dda2e5476db128dc5ad3eba442 (diff) | |
parent | e6cf7d774519300c08399cae5bfba90e33749727 (diff) | |
download | php-git-1ac611f24f03728e4d9cd717e83331e2e17184d2.tar.gz |
Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3
Diffstat (limited to 'ext/sqlite/sqlite.c')
-rw-r--r-- | ext/sqlite/sqlite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c index 15517db909..a7070a9b06 100644 --- a/ext/sqlite/sqlite.c +++ b/ext/sqlite/sqlite.c @@ -1166,7 +1166,7 @@ static void sqlite_object_new(zend_class_entry *class_type, zend_object_handlers memset(intern, 0, sizeof(sqlite_object)); zend_object_std_init(&intern->std, class_type TSRMLS_CC); - zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *)); + zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_property_ctor, (void *) &tmp, sizeof(zval *)); retval->handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t) sqlite_object_free_storage, NULL TSRMLS_CC); retval->handlers = handlers; |