Searched refs:new_rr (Results 1 – 1 of 1) sorted by relevance
1404 ldns_rr *new_rr; in ldns_rr_clone() local1410 new_rr = ldns_rr_new(); in ldns_rr_clone()1411 if (!new_rr) { in ldns_rr_clone()1415 ldns_rr_set_owner(new_rr, ldns_rdf_clone(ldns_rr_owner(rr))); in ldns_rr_clone()1417 ldns_rr_set_ttl(new_rr, ldns_rr_ttl(rr)); in ldns_rr_clone()1418 ldns_rr_set_type(new_rr, ldns_rr_get_type(rr)); in ldns_rr_clone()1419 ldns_rr_set_class(new_rr, ldns_rr_get_class(rr)); in ldns_rr_clone()1420 ldns_rr_set_question(new_rr, ldns_rr_is_question(rr)); in ldns_rr_clone()1424 ldns_rr_push_rdf(new_rr, ldns_rdf_clone(ldns_rr_rdf(rr, i))); in ldns_rr_clone()1428 return new_rr; in ldns_rr_clone()