X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_misc.c;h=1344726ce2fe60d5bda46c4b9f88e095810f5ad5;hp=ff0c02475d204075ef18547792d50de54cd5ee9e;hb=feab775de457917972ab8d2e47e12bded7f68872;hpb=55ecd561795b73a44c9aa6495af0602d114eac24 diff --git a/php_http_misc.c b/php_http_misc.c index ff0c024..1344726 100644 --- a/php_http_misc.c +++ b/php_http_misc.c @@ -226,7 +226,7 @@ int php_http_array_apply_merge_func(zval *value, int num_args, va_list args, zen convert_to_string_ex(value); } - Z_ADDREF_P(value); + Z_TRY_ADDREF_P(value); if ((flags & ARRAY_JOIN_PRETTIFY) && hash_key->key) { key = php_http_pretty_key(estrndup(hash_key->key->val, hash_key->key->len), hash_key->key->len, 1, 1);