* $Source$
* $Author$
*
- * Copyright 1990 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
}
/* This one doesn't match */
- /* XXX krb5_free_credentials(creds); */
+ krb5_free_cred_contents(&fetchcreds);
}
/* If we get here, a match wasn't found */
* $Source$
* $Author$
*
- * Copyright 1990 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
if (kret != KRB5_OK)
return kret;
- /* XXX krb5_destroy_principal(&princ); */
+ krb5_free_principal(princ);
return KRB5_OK;
}
if (!combined_padata) {
cleanup();
cleanup_authdata();
+ xfree(ap_req_padata.contents);
return ENOMEM;
}
combined_padata[0] = &ap_req_padata;
if (!combined_padata) {
cleanup();
cleanup_authdata();
+ xfree(ap_req_padata.contents);
return ENOMEM;
}
combined_padata[0] = &ap_req_padata;
cleanup();
cleanup_authdata();
xfree(combined_padata);
+ xfree(ap_req_padata.contents);
return(retval);
}
if (sec_ticket)
krb5_free_ticket(sec_ticket);
cleanup_authdata();
xfree(combined_padata);
+ xfree(ap_req_padata.contents);
#undef cleanup_authdata
#undef cleanup
#define cleanup() {xfree(ap_checksum.contents);}