1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00

nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault

This commit is contained in:
Antony Dovgal
2006-12-05 18:42:22 +00:00
parent 9c1efbe2bb
commit 80fdcd8e06

View File

@@ -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) {