commit 22287acb072ca01401380a44ce13bf5840fc5dce
Author: Oswald Buddenhagen <[email protected]>
Date: Sun Mar 6 23:04:46 2011 +0100
don't leak SSL objects
src/drv_imap.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/drv_imap.c b/src/drv_imap.c
index d8acc4f..9e0ad38 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -1134,6 +1134,8 @@ imap_cancel_store( store_t *gctx )
if (ctx->buf.sock.fd >= 0)
close( ctx->buf.sock.fd );
#ifdef HAVE_LIBSSL
+ if (ctx->buf.sock.ssl)
+ SSL_free( ctx->buf.sock.ssl );
if (ctx->SSLContext)
SSL_CTX_free( ctx->SSLContext );
#endif
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel