projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ad5d30
)
In krb5_get_in_tkt_with_password, free opte before returning the error
author
Greg Hudson
<ghudson@mit.edu>
Thu, 12 Feb 2009 20:07:15 +0000
(20:07 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Thu, 12 Feb 2009 20:07:15 +0000
(20:07 +0000)
from krb5_unparse_name, not after.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21985
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/gic_pwd.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/gic_pwd.c
b/src/lib/krb5/krb/gic_pwd.c
index 4174f4e668f816c3d7f1348b516cc429aae48930..5b3469ea15f5f857eaf6b3ec2f7332a19312bd6e 100644
(file)
--- a/
src/lib/krb5/krb/gic_pwd.c
+++ b/
src/lib/krb5/krb/gic_pwd.c
@@
-502,8
+502,8
@@
krb5_get_in_tkt_with_password(krb5_context context, krb5_flags options,
return (retval);
retval = krb5_unparse_name( context, creds->server, &server);
if (retval) {
- return (retval);
krb5_get_init_creds_opt_free(context, (krb5_get_init_creds_opt *)opte);
+ return (retval);
}
server_princ = creds->server;
client_princ = creds->client;