CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2020/09/26 02:58:00

Modified files:
        lib/libssl     : d1_both.c 

Log message:
Have dtls1_hm_fragment_new() call dtls1_hm_fragment_free() on failure.

Rather than using local variables and having to remember which things need
to be freed upon a failure at a certain point, simply allocate into the
hm_fragment struct and call dtls1_hm_fragment_free() on failure.

Also use calloc() to ensure memory is appropriately zeroed/initialised.

ok tb@

Reply via email to