From a73c45bef1b6d918c924e8222a5fac0b970b4448 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 16 Jan 2022 22:11:28 -0500 Subject: [PATCH] lib/hx509: hxtool test_crypto destroy 'vctx' call hx509_verify_destroy_ctx to free 'vctx' Change-Id: I4125a46760b8b988a63fb8d96d91a4a8b948b606 --- lib/hx509/hxtool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hx509/hxtool.c b/lib/hx509/hxtool.c index 11c618600..0714fccbd 100644 --- a/lib/hx509/hxtool.c +++ b/lib/hx509/hxtool.c @@ -2424,6 +2424,7 @@ test_crypto(struct test_crypto_options *opt, int argc, char ** argv) hx509_err(context, 1, ret, "hx509_cert_iter"); hx509_certs_free(&certs); + hx509_verify_destroy_ctx(vctx); return 0; } -- 2.11.4.GIT