summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGOTOU Yuuzou <gotoyuzo@notwork.org>2002-11-07 05:09:45 +0000
committerGOTOU Yuuzou <gotoyuzo@notwork.org>2002-11-07 05:09:45 +0000
commit3b1510736a2d05a320a231b59b27c43cc6fb9d90 (patch)
treeccaf7d0eb48717843424063581119da530382b4c
parentbca45b1f5932c43bcc9027386cdb253376147c79 (diff)
downloadruby-openssl-history-3b1510736a2d05a320a231b59b27c43cc6fb9d90.tar.gz
* ossl_ssl.c: memory leak has been in ossl_sslctx_free().
-rw-r--r--ChangeLog5
-rw-r--r--ossl_ssl.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ff221b..48996ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
+Thu, 7 Nov 2002 14:02:35 +0900
+ * ossl_ssl.c: memory leak has been in ossl_sslctx_free().
+
Mon, 28 Oct 2002 11:19:30 +0100 -- Michal Rokos <m.rokos@sh.cvut.cz>
* extconf.rb: Make it work under Ruby1.7.3
-Fri, 25 Oct 2002 03:37:42 +9000 -- GOTOU Yuuzou <gotoyuzo@notwork.org>
+Fri, 25 Oct 2002 03:37:42 +0900 -- GOTOU Yuuzou <gotoyuzo@notwork.org>
* ossl_ssl.c: ossl_ssl_verify_callback was refined.
Tue, 15 Oct 2002 18:10:17 +0900 -- GOTOU Yuuzou <gotoyuzo@notwork.org>
diff --git a/ossl_ssl.c b/ossl_ssl.c
index 55cb0fa..722177b 100644
--- a/ossl_ssl.c
+++ b/ossl_ssl.c
@@ -93,6 +93,7 @@ ossl_sslctx_free(ossl_sslctx_st *p)
{
SSL_CTX_free(p->ctx);
p->ctx = NULL;
+ free(p);
}
static VALUE