Set s->d1 to NULL after freeing it.
(cherry picked from commit 04638f2fc335a6dc2af8e5d556d36e29c261dcd2)
This commit is contained in:
parent
a8cc9f1873
commit
e9a3aa9721
@ -196,6 +196,7 @@ void dtls1_free(SSL *s)
|
|||||||
pqueue_free(s->d1->buffered_app_data.q);
|
pqueue_free(s->d1->buffered_app_data.q);
|
||||||
|
|
||||||
OPENSSL_free(s->d1);
|
OPENSSL_free(s->d1);
|
||||||
|
s->d1 = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void dtls1_clear(SSL *s)
|
void dtls1_clear(SSL *s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user