From 6a431cd293b283b0c7d2b40faa77f8244a27462f 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 b808f04496..9bc416c1c1 100644 --- a/ssl/d1_both.c +++ b/ssl/d1_both.c @@ -633,7 +633,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.25.1