Make krb5_get_init_creds_opt_free take a context argument.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19078 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-11-20 18:12:41 +00:00
parent ebc7f63d48
commit ece5f9603e
13 changed files with 19 additions and 17 deletions

View File

@@ -151,7 +151,7 @@ generate_requests (const char *filename, unsigned nreq)
free (old_pwd);
free (new_pwd);
krb5_free_cred_contents (context, &cred);
krb5_get_init_creds_opt_free(opt);
krb5_get_init_creds_opt_free(context, opt);
}
}

View File

@@ -199,7 +199,7 @@ main (int argc, char **argv)
krb5_err(context, 1, ret, "krb5_get_init_creds");
}
krb5_get_init_creds_opt_free(opt);
krb5_get_init_creds_opt_free(context, opt);
ret = krb5_cc_initialize(context, id, admin_principal);
krb5_free_principal(context, admin_principal);