Lines Matching refs:lhrr

1178   struct Curl_https_rrinfo *lhrr = NULL;  in doh_resp_decode_httpsrr()  local
1186 lhrr = calloc(1, sizeof(struct Curl_https_rrinfo)); in doh_resp_decode_httpsrr()
1187 if(!lhrr) in doh_resp_decode_httpsrr()
1189 lhrr->val = Curl_memdup(rrval, len); in doh_resp_decode_httpsrr()
1190 if(!lhrr->val) in doh_resp_decode_httpsrr()
1192 lhrr->len = len; in doh_resp_decode_httpsrr()
1195 lhrr->priority = (uint16_t)((cp[0] << 8) + cp[1]); in doh_resp_decode_httpsrr()
1200 lhrr->target = dnsname; in doh_resp_decode_httpsrr()
1208 if(doh_decode_rdata_alpn(cp, plen, &lhrr->alpns) != CURLE_OK) in doh_resp_decode_httpsrr()
1212 lhrr->no_def_alpn = TRUE; in doh_resp_decode_httpsrr()
1216 lhrr->ipv4hints = Curl_memdup(cp, plen); in doh_resp_decode_httpsrr()
1217 if(!lhrr->ipv4hints) in doh_resp_decode_httpsrr()
1219 lhrr->ipv4hints_len = (size_t)plen; in doh_resp_decode_httpsrr()
1224 lhrr->echconfiglist = Curl_memdup(cp, plen); in doh_resp_decode_httpsrr()
1225 if(!lhrr->echconfiglist) in doh_resp_decode_httpsrr()
1227 lhrr->echconfiglist_len = (size_t)plen; in doh_resp_decode_httpsrr()
1232 lhrr->ipv6hints = Curl_memdup(cp, plen); in doh_resp_decode_httpsrr()
1233 if(!lhrr->ipv6hints) in doh_resp_decode_httpsrr()
1235 lhrr->ipv6hints_len = (size_t)plen; in doh_resp_decode_httpsrr()
1243 *hrr = lhrr; in doh_resp_decode_httpsrr()
1246 if(lhrr) { in doh_resp_decode_httpsrr()
1247 Curl_safefree(lhrr->target); in doh_resp_decode_httpsrr()
1248 Curl_safefree(lhrr->echconfiglist); in doh_resp_decode_httpsrr()
1249 Curl_safefree(lhrr->val); in doh_resp_decode_httpsrr()
1250 Curl_safefree(lhrr->alpns); in doh_resp_decode_httpsrr()
1251 Curl_safefree(lhrr); in doh_resp_decode_httpsrr()