提交 04638f2f 编写于 作者: D Dr. Stephen Henson

Set s->d1 to NULL after freeing it.

上级 045b2809
......@@ -222,6 +222,7 @@ void dtls1_free(SSL *s)
pqueue_free(s->d1->buffered_app_data.q);
OPENSSL_free(s->d1);
s->d1 = NULL;
}
void dtls1_clear(SSL *s)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册