From: Andreas Steffen Date: Sun, 28 Aug 2022 09:42:13 +0000 (+0200) Subject: pki: Fixed memory leak in pki --scep X-Git-Tag: 5.9.8dr2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=359b5739f4b2257d7ae03eaa06b38f561a54aef5;p=thirdparty%2Fstrongswan.git pki: Fixed memory leak in pki --scep --- diff --git a/src/pki/commands/scep.c b/src/pki/commands/scep.c index f7db744d5a..7554179940 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; } }