From 78a064a0337b976791362fb118db57904926d638 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 14 Dec 2022 15:02:43 +0000 Subject: [PATCH] Plug leak of ECDSA_SIG ok sthen --- usr.sbin/acme-client/acctproc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/acme-client/acctproc.c b/usr.sbin/acme-client/acctproc.c index cd01f8c3381..7a4c56bf65a 100644 --- a/usr.sbin/acme-client/acctproc.c +++ b/usr.sbin/acme-client/acctproc.c @@ -1,4 +1,4 @@ -/* $Id: acctproc.c,v 1.23 2022/01/14 09:20:18 tb Exp $ */ +/* $Id: acctproc.c,v 1.24 2022/12/14 15:02:43 tb Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons * @@ -439,6 +439,7 @@ op_sign(int fd, EVP_PKEY *pkey, enum acctop op) rc = 1; out: + ECDSA_SIG_free(ec_sig); EVP_MD_CTX_free(ctx); free(pay); free(sign); -- 2.20.1