From 359b5739f4b2257d7ae03eaa06b38f561a54aef5 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Sun, 28 Aug 2022 11:42:13 +0200 Subject: [PATCH] pki: Fixed memory leak in pki --scep --- src/pki/commands/scep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pki/commands/scep.c b/src/pki/commands/scep.c index f7db744d5..755417994 100644 --- a/src/pki/commands/scep.c +++ b/src/pki/commands/scep.c @@ -405,6 +405,7 @@ static int scep() { DBG1(DBG_APP, "loading client private key file '%s' failed", client_key_file); + x509_signer->destroy(x509_signer); goto err; } }