@@ -1303,10 +1303,10 @@ int make_http_soap_request(zval *this_ptr,
1303
1303
if ((strcmp (content_encoding ,"gzip" ) == 0 ||
1304
1304
strcmp (content_encoding ,"x-gzip" ) == 0 ) &&
1305
1305
(decompression_fn = zend_hash_str_find_ptr (EG (function_table ), "gzdecode" , sizeof ("gzdecode" )- 1 ))) {
1306
- ZVAL_STR_COPY (& params [0 ], http_body );
1306
+ ZVAL_STR (& params [0 ], http_body );
1307
1307
} else if (strcmp (content_encoding ,"deflate" ) == 0 &&
1308
1308
(decompression_fn = zend_hash_str_find_ptr (EG (function_table ), "gzuncompress" , sizeof ("gzuncompress" )- 1 ))) {
1309
- ZVAL_STR_COPY (& params [0 ], http_body );
1309
+ ZVAL_STR (& params [0 ], http_body );
1310
1310
} else {
1311
1311
efree (content_encoding );
1312
1312
zend_string_release_ex (http_headers , 0 );
@@ -1319,11 +1319,9 @@ int make_http_soap_request(zval *this_ptr,
1319
1319
}
1320
1320
zend_call_known_function (decompression_fn , NULL , NULL , & retval , 1 , params , NULL );
1321
1321
if (Z_TYPE (retval ) == IS_STRING ) {
1322
- zval_ptr_dtor (& params [0 ]);
1323
1322
zend_string_release_ex (http_body , 0 );
1324
1323
ZVAL_COPY_VALUE (return_value , & retval );
1325
1324
} else {
1326
- zval_ptr_dtor (& params [0 ]);
1327
1325
zval_ptr_dtor (& retval );
1328
1326
efree (content_encoding );
1329
1327
zend_string_release_ex (http_headers , 0 );
0 commit comments