summaryrefslogtreecommitdiff
path: root/ssl/bio_ssl.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-03-15 17:45:43 +0000
committerNils Larsch <nils@openssl.org>2006-03-15 17:45:43 +0000
commit67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a (patch)
tree9a367d762cfb0e55a2b8d224d8e7e1928089387c /ssl/bio_ssl.c
parenta4ff392503fbc9ccd50fb425a69e50a64058314c (diff)
downloadopenssl-new-67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a.tar.gz
fix problems found by coverity: remove useless code
Diffstat (limited to 'ssl/bio_ssl.c')
-rw-r--r--ssl/bio_ssl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c
index 420deb7fc9..da6dfd2262 100644
--- a/ssl/bio_ssl.c
+++ b/ssl/bio_ssl.c
@@ -543,7 +543,6 @@ BIO *BIO_new_ssl_connect(SSL_CTX *ctx)
return(ret);
err:
if (con != NULL) BIO_free(con);
- if (ret != NULL) BIO_free(ret);
return(NULL);
}