Set s->d1 to NULL after freeing it.
(cherry picked from commit 04638f2fc3
)
This commit is contained in:
parent
3087bd32ff
commit
4d11426716
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,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)
|
||||
|
|
Loading…
Reference in a new issue