apps/cmp.c: Fix memory leaks in handle_opt_geninfo() found by Coverity
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 22 Jun 2020 14:33:13 +0000 (16:33 +0200)
committerPauli <paul.dale@oracle.com>
Wed, 24 Jun 2020 21:49:41 +0000 (07:49 +1000)
commit33c41876edbb8e63b2f6633db894726f48044932
tree54ce9550d739b5acb28015b98c66aa19385e350a
parent1b0f5b62ff51a89553a55f7fad2a76b7032ef31d
apps/cmp.c: Fix memory leaks in handle_opt_geninfo() found by Coverity

CID 1463578:  Resource leaks  (RESOURCE_LEAK)
CID 1463575:  Resource leaks  (RESOURCE_LEAK)

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12231)
apps/cmp.c