addref
authorMichael Wallner <mike@php.net>
Thu, 22 Jan 2015 08:56:18 +0000 (09:56 +0100)
committerMichael Wallner <mike@php.net>
Thu, 22 Jan 2015 08:56:18 +0000 (09:56 +0100)
php_http_misc.c

index 1344726ce2fe60d5bda46c4b9f88e095810f5ad5..00b8d8618e920d2c5ddcfa43b7c9eeb6ba0b7052 100644 (file)
@@ -163,6 +163,7 @@ unsigned php_http_array_list(HashTable *ht, unsigned argc, ...)
 
 void php_http_array_copy_strings(zval *zp)
 {
+       Z_TRY_ADDREF_P(zp);
        convert_to_string_ex(zp);
 }