projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e78074
)
Fix a memory leak in SSL.
author
Richard Levitte
<levitte@openssl.org>
Thu, 30 Jan 2003 11:00:34 +0000
(11:00 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 30 Jan 2003 11:00:34 +0000
(11:00 +0000)
PR: 477
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index 68c7ae7b6e7a0cae75553409bac3e8c7c72f9ee6..ea76cf11728e1e66ee30a20ee60e14d37e62d9a3 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-2047,6
+2047,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);