summaryrefslogtreecommitdiff
path: root/ext/intl/resourcebundle
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2010-12-27 01:10:08 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2010-12-27 01:10:08 +0000
commit9ec9210fbcec3a106b593894cecd811f158acb8f (patch)
tree3689bcba8ee3ee589d557e766d56c46a56948af9 /ext/intl/resourcebundle
parentcc1759598fad686aad7f7ef99cf36f144501851a (diff)
downloadphp-git-9ec9210fbcec3a106b593894cecd811f158acb8f.tar.gz
- Fixed bug #53612 (Segmentation fault when using several cloned intl
objects).
Diffstat (limited to 'ext/intl/resourcebundle')
-rw-r--r--ext/intl/resourcebundle/resourcebundle_class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/intl/resourcebundle/resourcebundle_class.c b/ext/intl/resourcebundle/resourcebundle_class.c
index bebd0e8282..9242b57f2f 100644
--- a/ext/intl/resourcebundle/resourcebundle_class.c
+++ b/ext/intl/resourcebundle/resourcebundle_class.c
@@ -420,6 +420,7 @@ void resourcebundle_register_class( TSRMLS_D )
}
ResourceBundle_object_handlers = std_object_handlers;
+ ResourceBundle_object_handlers.clone_obj = NULL;
ResourceBundle_object_handlers.read_dimension = resourcebundle_array_get;
ResourceBundle_object_handlers.count_elements = resourcebundle_array_count;
}