(set_auth_data): set pointer to NULL after free

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14145 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-08-23 19:33:34 +00:00
parent e317e88de0
commit 3225e16607

View File

@@ -108,6 +108,7 @@ set_auth_data (krb5_context context,
if (ret) {
free (buf);
free (req_body->enc_authorization_data);
req_body->enc_authorization_data = NULL;
return ret;
}
krb5_encrypt_EncryptedData(context,