diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index f0837796..24870fb7 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -247,6 +247,7 @@ dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority) /* insert should not fail, since duplicates are dropped */ if (pqueue_insert(queue->q, item) == NULL) { + OPENSSL_PUT_ERROR(SSL, dtls1_buffer_record, ERR_R_INTERNAL_ERROR); OPENSSL_free(rdata); pitem_free(item); return(0);