From: Antony Dovgal Date: Tue, 5 Dec 2006 18:42:22 +0000 (+0000) Subject: nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault X-Git-Tag: RELEASE_1_0_0RC1~806 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80fdcd8e064389c445ffeabab05a2cbf98d59602;p=php nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault --- diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index 0d9b7057fd..2a510228f4 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -289,7 +289,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) {