diff options
author | Richard Levitte <levitte@openssl.org> | 2003-01-30 14:00:37 +0300 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-01-30 14:00:37 +0300 |
commit | 8f94b2010f1d7813d9ca18a365cf59db37fa98ba (patch) | |
tree | 7ff7ab3add8596fa972624c703ad921c5a51db0f /ssl | |
parent | d48e6a47bd7d2073d50c932f0addcc3d5b8116a6 (diff) |
Fix a memory leak in SSL.
PR: 477
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 12c4488c3c..ddd8114587 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1896,6 +1896,7 @@ SSL *SSL_dup(SSL *s) * they should not both point to the same object, * and thus we can't use SSL_copy_session_id. */ + ret->method->ssl_free(ret); ret->method = s->method; ret->method->ssl_new(ret); |