From 2d8a4ea299724fdfb70f1ff522f6170914804c63 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 29 Sep 2010 01:25:35 +0000 Subject: [PATCH] - Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain used) --- ext/openssl/xp_ssl.c | 1 - 1 file changed, 1 deletion(-) 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 { -- 2.49.0