MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / free_rdata_list

Function free_rdata_list

resolve.c:1075–1087  ·  view source on GitHub ↗

! \brief frees completely a struct rdata list */

Source from the content-addressed store, hash-verified

1073
1074/*! \brief frees completely a struct rdata list */
1075void free_rdata_list(struct rdata* head)
1076{
1077 struct rdata* l;
1078 struct rdata* next_l;
1079
1080 for( l=head; l ; l=next_l) {
1081 next_l = l->next;
1082 /* free the parsed rdata*/
1083 if (l->rdata)
1084 local_free(l->rdata);
1085 local_free(l);
1086 }
1087}
1088
1089
1090

Callers 8

get_recordFunction · 0.85
sort_srvsFunction · 0.85
do_srv_lookupFunction · 0.85
sip_resolvehostFunction · 0.85
deserialize_dns_rdataFunction · 0.85
is_from_user_enumFunction · 0.85
do_queryFunction · 0.85
i_enum_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected