From: Tobias Brunner Date: Thu, 24 Jan 2013 17:38:29 +0000 (+0100) Subject: Properly destroy mem_cred object on pki --pkcs7 --help X-Git-Tag: 5.0.2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27a814b527d678b9f07c0ccc610fa526bac3ad91;p=thirdparty%2Fstrongswan.git Properly destroy mem_cred object on pki --pkcs7 --help --- diff --git a/src/pki/commands/pkcs7.c b/src/pki/commands/pkcs7.c index 3d53ace001..9f167d3768 100644 --- a/src/pki/commands/pkcs7.c +++ b/src/pki/commands/pkcs7.c @@ -295,6 +295,7 @@ static int pkcs7() switch (command_getopt(&arg)) { case 'h': + creds->destroy(creds); return command_usage(NULL); case 'i': file = arg;