(krb5_build_authenticator): don't free `cksum'. It's allocated and

freed by the caller


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2632 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-25 15:35:04 +00:00
parent 086e08d76c
commit 101d27937d

View File

@@ -98,6 +98,8 @@ krb5_build_authenticator (krb5_context context,
if (auth_result)
*auth_result = auth;
else {
/* Don't free the `cksum', it's allocated by the caller */
auth->cksum = NULL;
free_Authenticator (auth);
free (auth);
}