Fixed segfault

This commit is contained in:
Xinchen Hui 2014-06-29 15:53:42 +08:00
parent 704e98072e
commit 3b7e19ad73

View File

@ -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) \