artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e5b407
)
Free KRL itself in addition to its contents. From Coverity CID 291841,
author
dtucker
<dtucker@openbsd.org>
Tue, 14 Mar 2023 07:28:47 +0000
(07:28 +0000)
committer
dtucker
<dtucker@openbsd.org>
Tue, 14 Mar 2023 07:28:47 +0000
(07:28 +0000)
ok djm@
usr.bin/ssh/krl.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/krl.c
b/usr.bin/ssh/krl.c
index
f491c24
..
6c4e372
100644
(file)
--- a/
usr.bin/ssh/krl.c
+++ b/
usr.bin/ssh/krl.c
@@
-14,7
+14,7
@@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $OpenBSD: krl.c,v 1.5
4 2022/04/28 02:53:31 djm
Exp $ */
+/* $OpenBSD: krl.c,v 1.5
5 2023/03/14 07:28:47 dtucker
Exp $ */
#include <sys/types.h>
#include <sys/tree.h>
@@
-189,6
+189,7
@@
ssh_krl_free(struct ssh_krl *krl)
TAILQ_REMOVE(&krl->revoked_certs, rc, entry);
revoked_certs_free(rc);
}
+ free(krl);
}
void