diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2020-10-10 10:19:46 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2020-10-10 10:19:46 +0000 |
commit | a0798d57907edf863d984988d7d0daf7b2780a62 (patch) | |
tree | 58079fd62409045420005eab16f734d78dda107e /regress/lib/libcrypto/x509 | |
parent | ccecda70af260dd06208bbb476625aad6dc07d79 (diff) |
Don't leak bundle_file and cert_file paths at the end.
Diffstat (limited to 'regress/lib/libcrypto/x509')
-rw-r--r-- | regress/lib/libcrypto/x509/bettertls/verify.c | 4 |
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); } |