plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25093 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -628,6 +628,7 @@ main(int argc, char **argv)
|
|||||||
if (auth_context) {
|
if (auth_context) {
|
||||||
krb5_auth_con_free(context, auth_context);
|
krb5_auth_con_free(context, auth_context);
|
||||||
auth_context = NULL;
|
auth_context = NULL;
|
||||||
|
krb5_cc_destroy(context, ccache);
|
||||||
get_creds(context, keytab_str, &ccache, master);
|
get_creds(context, keytab_str, &ccache, master);
|
||||||
}
|
}
|
||||||
ret = krb5_sendauth (context, &auth_context, &master_fd,
|
ret = krb5_sendauth (context, &auth_context, &master_fd,
|
||||||
|
Reference in New Issue
Block a user