diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-09-19 17:32:50 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-09-19 17:32:50 +0400 |
commit | bccc653185d2fe8aa6ff83cf84db56a396c6bc05 (patch) | |
tree | 5288aafc3ed4e0542e0cb0a2d90b5bf59df60b1c /ext/soap/php_sdl.c | |
parent | 35f84676877564f3d4ead8f48bc98f72b7b20ff7 (diff) | |
download | php-git-bccc653185d2fe8aa6ff83cf84db56a396c6bc05.tar.gz |
Avoid double IS_INTERNED() check
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r-- | ext/soap/php_sdl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index c7e52dfb8c..d67bea1ab7 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -3288,9 +3288,8 @@ sdlPtr get_sdl(zval *this_ptr, char *uri, zend_long cache_wsdl TSRMLS_DC) } smart_str_0(&headers); - ZVAL_STR(&str_headers, zend_string_copy(headers.s)); + ZVAL_NEW_STR(&str_headers, headers.s); php_stream_context_set_option(context, "http", "header", &str_headers); - smart_str_free(&headers); zval_ptr_dtor(&str_headers); } |