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
commit610bb960361a4d0bde6ca589bd7163bd6bfccb65 (patch)
tree55d25bf59d6c2c3c4181bb0893a22bdfb59674b9 /ext/intl/resourcebundle
parent83ef8850a056ee9103c2878e8c3e23337012c6d7 (diff)
downloadphp-git-610bb960361a4d0bde6ca589bd7163bd6bfccb65.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 85a3f9d700..dcf7b3e36b 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;
}