提交 2e60ea76 编写于 作者: R Richard Levitte

Fix a memory leak in SSL.

PR: 477
上级 4e78074b
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册