mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Set s->d1 to NULL after freeing it.
This commit is contained in:
parent
045b2809f8
commit
04638f2fc3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user