(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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user