diff options
author | Xinchen Hui <laruence@php.net> | 2014-06-29 15:24:00 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-06-29 15:28:55 +0800 |
commit | 9fb8c16b6cd5f8c47ab6b83b821f0bf79448bcac (patch) | |
tree | 5075a8b9876f9175501237ab687fe5a14845e316 /ext/intl/breakiterator/breakiterator_methods.cpp | |
parent | e1437022e188747495badcfa2b86282456bc27e8 (diff) | |
download | php-git-9fb8c16b6cd5f8c47ab6b83b821f0bf79448bcac.tar.gz |
Fixed temporarily un-expected object re-init
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_methods.cpp')
-rw-r--r-- | ext/intl/breakiterator/breakiterator_methods.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/breakiterator/breakiterator_methods.cpp b/ext/intl/breakiterator/breakiterator_methods.cpp index 712c58fbbd..ed5944a3da 100644 --- a/ext/intl/breakiterator/breakiterator_methods.cpp +++ b/ext/intl/breakiterator/breakiterator_methods.cpp @@ -73,7 +73,7 @@ static void _breakiter_factory(const char *func_name, RETURN_NULL(); } - breakiterator_object_create(return_value, biter TSRMLS_CC); + breakiterator_object_create(return_value, biter, 1 TSRMLS_CC); } U_CFUNC PHP_FUNCTION(breakiter_create_word_instance) @@ -123,7 +123,7 @@ U_CFUNC PHP_FUNCTION(breakiter_create_code_point_instance) } CodePointBreakIterator *cpbi = new CodePointBreakIterator(); - breakiterator_object_create(return_value, cpbi TSRMLS_CC); + breakiterator_object_create(return_value, cpbi, 1 TSRMLS_CC); } U_CFUNC PHP_FUNCTION(breakiter_get_text) |