From: Sara Golemon Date: Fri, 23 Apr 2004 03:37:20 +0000 (+0000) Subject: In-HEAD bugfix# 28115 X-Git-Tag: php-5.0.0RC2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5e0742e8d4ea4a34ee9ea82d8e830be132f6a2b;p=php In-HEAD bugfix# 28115 --- diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index a753bb3639..b2a3244b79 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -194,6 +194,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path, /* Should we send the entire path in the request line, default to no. */ if (context && php_stream_context_get_option(context, "http", "request_fulluri", &tmpzval) == SUCCESS) { + (*tmpzval)->refcount++; SEPARATE_ZVAL(tmpzval); convert_to_boolean_ex(tmpzval); request_fulluri = Z_BVAL_PP(tmpzval) ? 1 : 0;