summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-04-08 18:03:12 +0100
committerDr. Stephen Henson <steve@openssl.org>2013-04-08 18:40:39 +0100
commita44c9b9c3317e0ee4f29e1509894fe75d7c52b1a (patch)
treedc36112972d9ac8408bfbcdbd6e1ee1bf08bad6c /ssl
parent1cbd7456aadce942ff59af95efb1029f92766342 (diff)
Set s->d1 to NULL after freeing it.
(cherry picked from commit 04638f2fc335a6dc2af8e5d556d36e29c261dcd2)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/d1_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index 3d27e30858..49546ec723 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -217,6 +217,7 @@ void dtls1_free(SSL *s)
pq_64bit_free(&(s->d1->next_bitmap.max_seq_num));
OPENSSL_free(s->d1);
+ s->d1 = NULL;
}
void dtls1_clear(SSL *s)