From: tb Date: Fri, 14 Apr 2023 14:36:13 +0000 (+0000) Subject: cttest: plug leak due to missing SCT_LIST_free() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=db8e9f93c77297dba1e67e80823fca89b5ae4535;p=openbsd cttest: plug leak due to missing SCT_LIST_free() --- 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; }