Searched refs:tmpad (Results 1 – 3 of 3) sorted by relevance
36 krb5_address *tmpad; in krb5_copy_addr() local38 if (!(tmpad = (krb5_address *)malloc(sizeof(*tmpad)))) in krb5_copy_addr()40 *tmpad = *inad; in krb5_copy_addr()41 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) { in krb5_copy_addr()42 krb5_xfree(tmpad); in krb5_copy_addr()45 memcpy((char *)tmpad->contents, (char *)inad->contents, inad->length); in krb5_copy_addr()46 *outad = tmpad; in krb5_copy_addr()
16 krb5_address *tmpad; in actx_copy_addr() local18 if (!(tmpad = (krb5_address *)malloc(sizeof(*tmpad)))) in actx_copy_addr()20 *tmpad = *inad; in actx_copy_addr()21 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) { in actx_copy_addr()22 krb5_xfree(tmpad); in actx_copy_addr()26 (void) memcpy((char *)tmpad->contents, (char *)inad->contents, inad->length); in actx_copy_addr()27 *outad = tmpad; in actx_copy_addr()
62 krb5_authdata *tmpad; in krb5_copy_authdatum() local64 if (!(tmpad = (krb5_authdata *)malloc(sizeof(*tmpad)))) in krb5_copy_authdatum()66 *tmpad = *inad; in krb5_copy_authdatum()67 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) { in krb5_copy_authdatum()68 free(tmpad); in krb5_copy_authdatum()71 (void) memcpy((char *)tmpad->contents, (char *)inad->contents, inad->length); in krb5_copy_authdatum()72 *outad = tmpad; in krb5_copy_authdatum()