]> granicus.if.org Git - php/commitdiff
In-HEAD bugfix# 28115
authorSara Golemon <pollita@php.net>
Fri, 23 Apr 2004 03:37:20 +0000 (03:37 +0000)
committerSara Golemon <pollita@php.net>
Fri, 23 Apr 2004 03:37:20 +0000 (03:37 +0000)
ext/standard/http_fopen_wrapper.c

index a753bb36398f577232efcb05f6af15895e690ef7..b2a3244b79fbcec1357a325e782fb9186cbc1760 100644 (file)
@@ -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;