Properly destroy mem_cred object on pki --pkcs7 --help

This commit is contained in:
Tobias Brunner
2013-01-24 19:13:41 +01:00
parent 39896d92ed
commit 27a814b527
+1
View File
@@ -295,6 +295,7 @@ static int pkcs7()
switch (command_getopt(&arg))
{
case 'h':
creds->destroy(creds);
return command_usage(NULL);
case 'i':
file = arg;