]> granicus.if.org Git - php/commitdiff
MFH: nuke redundant zval_ptr_dtor() call
authorAntony Dovgal <tony2001@php.net>
Tue, 5 Dec 2006 18:42:38 +0000 (18:42 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 5 Dec 2006 18:42:38 +0000 (18:42 +0000)
ext/standard/http_fopen_wrapper.c

index 4b955acbba0ec88f3b500e4cc1110889ae0288fc..af52f2bb998b5addd5f9561049a05d5b83aec7a1 100644 (file)
@@ -247,7 +247,6 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
                SEPARATE_ZVAL(tmpzval);
                convert_to_double_ex(tmpzval);
                protocol_version_len = spprintf(&protocol_version, 0, "%.1f", Z_DVAL_PP(tmpzval));
-               zval_ptr_dtor(tmpzval);
        }
 
        if (!scratch) {