From db8e9f93c77297dba1e67e80823fca89b5ae4535 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 14 Apr 2023 14:36:13 +0000 Subject: [PATCH] cttest: plug leak due to missing SCT_LIST_free() --- regress/lib/libcrypto/ct/cttest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regress/lib/libcrypto/ct/cttest.c b/regress/lib/libcrypto/ct/cttest.c index dd7b8141093..9e0a99b6178 100644 --- a/regress/lib/libcrypto/ct/cttest.c +++ b/regress/lib/libcrypto/ct/cttest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cttest.c,v 1.7 2023/04/14 14:14:39 tb Exp $ */ +/* $OpenBSD: cttest.c,v 1.8 2023/04/14 14:36:13 tb Exp $ */ /* * Copyright (c) 2021 Joel Sing * @@ -450,6 +450,7 @@ ct_sct_verify_test(void) CTLOG_STORE_free(ctlog_store); X509_free(cert); X509_free(issuer); + SCT_LIST_free(scts); return failed; } -- 2.20.1