summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-04-14 14:36:13 +0000
committertb <>2023-04-14 14:36:13 +0000
commitbe3f11b57177567c1f951c5428261d6d8d9ee729 (patch)
treeaa8461c0c2d9e007894e83235060b9d7a2932216 /src
parent3738178b0a04ad2d8b5ee4799fd87dd86d9fd5f5 (diff)
downloadopenbsd-be3f11b57177567c1f951c5428261d6d8d9ee729.tar.gz
openbsd-be3f11b57177567c1f951c5428261d6d8d9ee729.tar.bz2
openbsd-be3f11b57177567c1f951c5428261d6d8d9ee729.zip
cttest: plug leak due to missing SCT_LIST_free()
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/ct/cttest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/ct/cttest.c b/src/regress/lib/libcrypto/ct/cttest.c
index dd7b814109..9e0a99b617 100644
--- a/src/regress/lib/libcrypto/ct/cttest.c
+++ b/src/regress/lib/libcrypto/ct/cttest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cttest.c,v 1.7 2023/04/14 14:14:39 tb Exp $ */ 1/* $OpenBSD: cttest.c,v 1.8 2023/04/14 14:36:13 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2021 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2021 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -450,6 +450,7 @@ ct_sct_verify_test(void)
450 CTLOG_STORE_free(ctlog_store); 450 CTLOG_STORE_free(ctlog_store);
451 X509_free(cert); 451 X509_free(cert);
452 X509_free(issuer); 452 X509_free(issuer);
453 SCT_LIST_free(scts);
453 454
454 return failed; 455 return failed;
455} 456}