From: Gustavo Lopes Date: Tue, 21 Aug 2012 21:21:59 +0000 (+0200) Subject: Fix handling of several uinitialized intl objects X-Git-Tag: php-5.5.0alpha1~20^2~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9eae3d67c10ccaf83e85e36777704f276f0ffae;p=php Fix handling of several uinitialized intl objects Master specific changes. Not having this in the merge commit helps porting to pecl/intl --- diff --git a/ext/intl/dateformat/dateformat_create.cpp b/ext/intl/dateformat/dateformat_create.cpp index 7fefbe7449..a2899f7974 100644 --- a/ext/intl/dateformat/dateformat_create.cpp +++ b/ext/intl/dateformat/dateformat_create.cpp @@ -76,7 +76,7 @@ static void datefmt_ctor(INTERNAL_FUNCTION_PARAMETERS) } locale = Locale::createFromName(locale_str); - DATE_FORMAT_METHOD_FETCH_OBJECT; + DATE_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK; if (DATE_FORMAT_OBJECT(dfo) != NULL) { intl_errors_set(INTL_DATA_ERROR_P(dfo), U_ILLEGAL_ARGUMENT_ERROR,