Lines Matching defs:newtl

297 	krb5_tl_data *newtl;
525 newtl = ent->tl_data;
526 while (newtl) {
527 switch (newtl->tl_data_type) {
548 ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_type = newtl->tl_data_type;
549 ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_len = newtl->tl_data_length;
550 ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val = malloc(newtl->tl_data_length * sizeof (char));
555 (void) memcpy(ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val, newtl->tl_data_contents, newtl->tl_data_length);
558 newtl = newtl->tl_data_next;
620 krb5_tl_data *newtl = NULL;
763 newtl = malloc(cnt * sizeof (krb5_tl_data));
764 (void) memset(newtl, 0, (cnt * sizeof (krb5_tl_data)));
765 if (newtl == NULL)
769 newtl[j].tl_data_type = (krb5_int16)u.av_tldata.av_tldata_val[j].tl_type;
770 newtl[j].tl_data_length = (krb5_int16)u.av_tldata.av_tldata_val[j].tl_data.tl_data_len;
771 newtl[j].tl_data_contents = NULL;
772 newtl[j].tl_data_contents = malloc(newtl[j].tl_data_length * sizeof (krb5_octet));
773 if (newtl[j].tl_data_contents == NULL)
774 /* XXX Memory leak: newtl
779 (void) memset(newtl[j].tl_data_contents, 0, (newtl[j].tl_data_length * sizeof (krb5_octet)));
780 (void) memcpy(newtl[j].tl_data_contents, u.av_tldata.av_tldata_val[j].tl_data.tl_data_val, newtl[j].tl_data_length);
781 newtl[j].tl_data_next = NULL;
783 newtl[j - 1].tl_data_next = &newtl[j];
786 if ((ret = krb5_dbe_update_tl_data(context, ent, newtl)))
789 if (newtl[j].tl_data_contents) {
790 free(newtl[j].tl_data_contents);
791 newtl[j].tl_data_contents = NULL;
793 if (newtl) {
794 free(newtl);
795 newtl = NULL;