Fix memleak in kswitch

This commit is contained in:
Nicolas Williams
2015-03-18 14:23:11 -05:00
parent a318ac86f5
commit 89aed008a9

View File

@@ -169,5 +169,7 @@ kswitch(struct kswitch_options *opt, int argc, char **argv)
if (ret)
krb5_err(heimtools_context, 1, ret, "krb5_cc_switch");
krb5_cc_close(heimtools_context, id);
return 0;
}