aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-01-24 18:38:29 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-24 19:13:41 +0100
commit27a814b527d678b9f07c0ccc610fa526bac3ad91 (patch)
tree876c544ee9b92ada9eab9633c80ea59afde9e7eb /src
parent39896d92ed9e0e98162ad5b86e296a163804ad12 (diff)
downloadstrongswan-27a814b527d678b9f07c0ccc610fa526bac3ad91.tar.bz2
strongswan-27a814b527d678b9f07c0ccc610fa526bac3ad91.tar.xz
Properly destroy mem_cred object on pki --pkcs7 --help
Diffstat (limited to 'src')
-rw-r--r--src/pki/commands/pkcs7.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pki/commands/pkcs7.c b/src/pki/commands/pkcs7.c
index 3d53ace00..9f167d376 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;