From e7b9d9be48cdc598a46c8e1536035ed29a9af254 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 24 Jul 2014 23:33:34 +0100 Subject: [PATCH] Added comment for the frag->reassembly == NULL case as per feedback from Emilia MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Emilia Käsper --- ssl/d1_both.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ssl/d1_both.c b/ssl/d1_both.c index cdb83b6558..6559dfcd01 100644 --- a/ssl/d1_both.c +++ b/ssl/d1_both.c @@ -639,7 +639,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok) /* If message is already reassembled, this must be a - * retransmit and can be dropped. + * retransmit and can be dropped. In this case item != NULL and so frag + * does not need to be freed. */ if (frag->reassembly == NULL) { -- 2.34.1