Reduce the number of memory leaks in cert_create
authorJustin Chadwell <justin.chadwell@arm.com>
Mon, 12 Aug 2019 11:19:21 +0000 (12:19 +0100)
committerJustin Chadwell <justin.chadwell@arm.com>
Fri, 16 Aug 2019 13:11:18 +0000 (14:11 +0100)
commit65ec13bce1367795bb0926561caca27de210e534
treea63332a1d6d594696978f0e5d91d44afdfa39ba9
parentd1b6013d8485094d948e6b6039b8d119a907ecf8
Reduce the number of memory leaks in cert_create

The valgrind checks for cert_create have not been run in a long while -
as such there are a few memory leaks present. This patch fixes a few of
the major ones reported by valgrind. However, a few do remain.

Change-Id: Iab002fb2b0090043287d43fb54a4d18928c2ed85
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
tools/cert_create/src/ext.c
tools/cert_create/src/key.c
tools/cert_create/src/main.c