From: Xinchen Hui Date: Sun, 29 Jun 2014 07:53:42 +0000 (+0800) Subject: Fixed segfault X-Git-Tag: POST_PHPNG_MERGE~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b7e19ad73c28eb4830174a0c98a8f3be5d702d3;p=php Fixed segfault --- diff --git a/ext/intl/intl_data.h b/ext/intl/intl_data.h index 5c65b9c6ea..4dd1508468 100644 --- a/ext/intl/intl_data.h +++ b/ext/intl/intl_data.h @@ -69,8 +69,8 @@ typedef struct _intl_data { if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ { \ intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 TSRMLS_CC ); \ - zval_dtor(return_value); \ - RETURN_NULL(); \ + Z_OBJ_P(return_value) = NULL; \ + return; \ } #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \