From: Felipe Pena Date: Wed, 29 Sep 2010 01:25:35 +0000 (+0000) Subject: - Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain used) X-Git-Tag: php-5.4.0alpha1~191^2~878 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d8a4ea299724fdfb70f1ff522f6170914804c63;p=php - Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain used) --- diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index c265869966..9b7c9d45f1 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -502,7 +502,6 @@ static inline int php_openssl_enable_crypto(php_stream *stream, zend_list_insert(mycert, php_openssl_get_x509_list_id() TSRMLS_CC)); add_next_index_zval(arr, zcert); - FREE_ZVAL(zcert); } } else {