summaryrefslogtreecommitdiff
path: root/ext/openssl/xp_ssl.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-09-29 01:25:35 +0000
committerFelipe Pena <felipe@php.net>2010-09-29 01:25:35 +0000
commita5459c09c99c9e4e7bd3e15108f8c20832716620 (patch)
tree892e260499b27957991add4f258b278c4210e43b /ext/openssl/xp_ssl.c
parent22d73027d01a34a41eb0a39eacc9b90c0f5ae30c (diff)
downloadphp-git-a5459c09c99c9e4e7bd3e15108f8c20832716620.tar.gz
- Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain used)
Diffstat (limited to 'ext/openssl/xp_ssl.c')
-rw-r--r--ext/openssl/xp_ssl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c
index 412a445d11..930aa1f430 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()));
add_next_index_zval(arr, zcert);
- FREE_ZVAL(zcert);
}
} else {