test/dhtest.c: fix resource leak
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Sun, 9 Sep 2018 14:19:19 +0000 (16:19 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 10 Sep 2018 09:32:33 +0000 (10:32 +0100)
commit9ba9d81b1c1645ed56a79b841e3fb63e5cbd7617
treec112e6165dd7c56cdc573e7e18415b332ed729c1
parentca89174bc92c16f0a2a7eb86359b6c6fd1dd7a4d
test/dhtest.c: fix resource leak

Reported by Coverity Scan (CID 1439136)
[extended tests]

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7155)
test/dhtest.c