set. (krb5-appl/895 from tim.mann@compaq.com)
Pull up from 1-2 branch.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12973
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-01-30 Ezra Peisach <epeisach@mit.edu>
+
+ * sclient.c (main): Do not free auth_context unless
+ set. (krb5-appl/895 from tim.mann@compaq.com)
+
2000-07-28 Ezra Peisach <epeisach@mit.edu>
* sclient.c: Include unistd.h if present (for close prototype).
- Change variable named sin (shadows maht library).
+ Change variable named sin (shadows math library).
2000-02-25 Ezra Peisach <epeisach@mit.edu>
krb5_free_principal(context, server); /* finished using it */
krb5_free_principal(context, client);
krb5_cc_close(context, ccdef);
- krb5_auth_con_free(context, auth_context);
+ if (auth_context) krb5_auth_con_free(context, auth_context);
if (retval && retval != KRB5_SENDAUTH_REJECTED) {
com_err(argv[0], retval, "while using sendauth");