free more

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2569 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-23 23:54:37 +00:00
parent 012dd50832
commit d7928440a3
7 changed files with 53 additions and 24 deletions

View File

@@ -49,7 +49,6 @@ krb5_mk_req_extended(krb5_context context,
krb5_data *outbuf)
{
krb5_error_code r;
Authenticator *auth;
krb5_data authenticator;
Checksum c;
Checksum *c_opt;
@@ -66,8 +65,9 @@ krb5_mk_req_extended(krb5_context context,
if(r)
return r;
copy_EncryptionKey(&in_creds->session,
&ac->key);
free_EncryptionKey (&ac->key);
copy_EncryptionKey (&in_creds->session,
&ac->key);
if (in_data) {
@@ -86,7 +86,7 @@ krb5_mk_req_extended(krb5_context context,
ac,
in_creds,
c_opt,
&auth,
NULL,
&authenticator);
if (r)
return r;