Mon Oct 24 14:46:07 1994 (tytso@rsx-11)
+ * kcmd.c (kcmd): Don't free host_save; it's supposed to be
+ returned by kcmd to the caller!
+
* configure.in
* krlogin.c (des_write): Don't check for srand48 and then try to
define srandom to be srand48. This breaks on machines
#endif
#endif /* POSIX_SIGNALS */
if (tmpstr) krb5_xfree(tmpstr);
- if (host_save) krb5_xfree(host_save);
krb5_free_creds(ret_cred);
return (-1);
}
#endif
#endif /* POSIX_SIGNALS */
if (tmpstr) krb5_xfree(tmpstr);
- if (host_save) krb5_xfree(host_save);
krb5_free_creds(ret_cred);
return (-1);
}
#endif /* POSIX_SIGNALS */
*sock = s;
if (tmpstr) krb5_xfree(tmpstr);
- if (host_save) krb5_xfree(host_save);
/* pass back credentials if wanted */
if (cred) krb5_copy_creds(ret_cred,cred);
#endif
#endif /* POSIX_SIGNALS */
if (tmpstr) krb5_xfree(tmpstr);
- if (host_save) krb5_xfree(host_save);
if (ret_cred)
krb5_free_creds(ret_cred);
return (status);