diff options
| author | tb <> | 2023-04-14 14:36:13 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-14 14:36:13 +0000 |
| commit | 0116f1d21b69e892ef4cb5dd7c93dfe877a3c532 (patch) | |
| tree | aa8461c0c2d9e007894e83235060b9d7a2932216 /src | |
| parent | 7b57dcb394d0aaac0cf490836327e3ebbd9a773c (diff) | |
| download | openbsd-0116f1d21b69e892ef4cb5dd7c93dfe877a3c532.tar.gz openbsd-0116f1d21b69e892ef4cb5dd7c93dfe877a3c532.tar.bz2 openbsd-0116f1d21b69e892ef4cb5dd7c93dfe877a3c532.zip | |
cttest: plug leak due to missing SCT_LIST_free()
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/ct/cttest.c | 3 |
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 | } |
