Avoid memory leak of parent on allocation failure for child structure
authorBenny Baumann <BenBE@geshi.org>
Thu, 1 Oct 2020 23:06:12 +0000 (01:06 +0200)
committerPauli <paul.dale@oracle.com>
Tue, 6 Oct 2020 22:55:49 +0000 (08:55 +1000)
commita21db568bf3d0ab4194fd3e0917ee982f1fc8bfd
tree5328a63c88fb7d46931ba9c5a00b2b3e1b0e8363
parent8ad369171fc2b435c0ca427111481da4d4c3c1ce
Avoid memory leak of parent on allocation failure for child structure

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13055)
apps/cms.c