Hi All, I'm facing a problem of memory leak and the symptoms lead to dtls1_free. We are getting many packets which are in next epoch. they get buffered in unprocessed records queue in dtls1_buffer_record function. in this function the s->s3->rbuf is shallow copied to rdata->rbuf. later s->s3->rbuf is set to zero. so, the pointer to the record data is in rdata->rbuf which is an item in the queue. The dtls1_free takes out each item from the queue and frees the item->data. but the original records are pointed by item->data->rbuf structure. these are not getting freed. I looked in latest openssl 1.0.0 and the same problem is there too. please let me know if it is really a problem in dtls1_free or we're missing something.
Regards, Keyoor
