artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb67526
)
Plug leaks reported by Ilya Shipitsin
author
tb
<tb@openbsd.org>
Tue, 8 Feb 2022 19:06:56 +0000
(19:06 +0000)
committer
tb
<tb@openbsd.org>
Tue, 8 Feb 2022 19:06:56 +0000
(19:06 +0000)
regress/lib/libssl/unit/ssl_versions.c
patch
|
blob
|
history
diff --git
a/regress/lib/libssl/unit/ssl_versions.c
b/regress/lib/libssl/unit/ssl_versions.c
index
62ecc78
..
8a63605
100644
(file)
--- a/
regress/lib/libssl/unit/ssl_versions.c
+++ b/
regress/lib/libssl/unit/ssl_versions.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ssl_versions.c,v 1.1
6 2021/12/29 23:04:12
tb Exp $ */
+/* $OpenBSD: ssl_versions.c,v 1.1
7 2022/02/08 19:06:56
tb Exp $ */
/*
* Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
*
@@
-526,6
+526,10
@@
test_ssl_max_shared_version(void)
i, svt->peerver);
failed++;
}
+ SSL_CTX_free(ssl_ctx);
+ SSL_free(ssl);
+ ssl_ctx = NULL;
+ ssl = NULL;
continue;
}
if (maxver != svt->want_maxver) {