diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-04-08 18:03:12 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-04-08 18:40:28 +0100 |
commit | 0e9dd387ea5311bfff377e54eb472c318302cd81 (patch) | |
tree | 83c674e66be565b785801c9bd70ff7849e1f0872 /ssl | |
parent | 79dabcc1373be17283d736901ddf9194609ba701 (diff) |
Set s->d1 to NULL after freeing it.
(cherry picked from commit 04638f2fc335a6dc2af8e5d556d36e29c261dcd2)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/d1_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index f61f718183..106939f241 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -196,6 +196,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) |