projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8e197e
)
Oops in previous memory freeing fixes; was a bit too agressive freeing things
author
Theodore Tso
<tytso@mit.edu>
Thu, 19 Jan 1995 02:46:40 +0000
(
02:46
+0000)
committer
Theodore Tso
<tytso@mit.edu>
Thu, 19 Jan 1995 02:46:40 +0000
(
02:46
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4823
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/mk_req_ext.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/mk_req_ext.c
b/src/lib/krb5/krb/mk_req_ext.c
index 585ebde20a042abe1ce33a8113e8304ec17a8057..b4d60177a6071388a5a92e1794635e475175101d 100644
(file)
--- a/
src/lib/krb5/krb/mk_req_ext.c
+++ b/
src/lib/krb5/krb/mk_req_ext.c
@@
-205,7
+205,7
@@
cleanup:
request.authenticator.ciphertext.length);
free(request.authenticator.ciphertext.data);
}
- if (newkey && *newkey)
+ if (
retval &&
newkey && *newkey)
krb5_free_keyblock(context, *newkey);
if (scratch) {
memset(scratch->data, 0, scratch->length);