diff options
author | 2010-09-07 07:07:43 +0000 | |
---|---|---|
committer | 2010-09-07 07:07:43 +0000 | |
commit | f50ef01a9279bd00a5021e84ca44b59941ddf4ea (patch) | |
tree | ef5c445cf736716f791507f72df3b8785934bbae /src/core/transport/http/sender/ssl/ssl_utils.c | |
parent | ec135f9a64d6066a4f7870ec308de779a0da9256 (diff) | |
download | axis2c-f50ef01a9279bd00a5021e84ca44b59941ddf4ea.tar.gz axis2c-f50ef01a9279bd00a5021e84ca44b59941ddf4ea.tar.bz2 |
ssl memory issue fixed, patch 1237 applied
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@993243 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/transport/http/sender/ssl/ssl_utils.c')
-rw-r--r-- | src/core/transport/http/sender/ssl/ssl_utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/transport/http/sender/ssl/ssl_utils.c b/src/core/transport/http/sender/ssl/ssl_utils.c index 01fe993..66cb9e7 100644 --- a/src/core/transport/http/sender/ssl/ssl_utils.c +++ b/src/core/transport/http/sender/ssl/ssl_utils.c @@ -215,7 +215,10 @@ axis2_ssl_utils_cleanup_ssl( if (ssl) { - SSL_shutdown(ssl); + if(SSL_shutdown(ssl)==0) + { + SSL_free(ssl); + } } if (ctx) { |