summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libcrypto')
-rw-r--r--regress/lib/libcrypto/x509/bettertls/verify.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/x509/bettertls/verify.c b/regress/lib/libcrypto/x509/bettertls/verify.c
index c139c183e51..df4b567d9c6 100644
--- a/regress/lib/libcrypto/x509/bettertls/verify.c
+++ b/regress/lib/libcrypto/x509/bettertls/verify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: verify.c,v 1.7 2020/10/08 14:38:09 tb Exp $ */
+/* $OpenBSD: verify.c,v 1.8 2020/10/10 10:19:45 tb Exp $ */
/*
* Copyright (c) 2020 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2020 Bob Beck <beck@openbsd.org>
@@ -219,6 +219,8 @@ bettertls_cert_test(const char *certs_path)
free(bundle_file);
free(cert_file);
}
+ free(bundle_file);
+ free(cert_file);
free(roots_file);
X509_STORE_free(store);
}