Lines Matching refs:new_list
1503 struct ares_srv_reply *new_list = NULL;
1514 if (!new_list) {
1515 new_list = talloc_zero(mem_ctx, struct ares_srv_reply);
1516 if (new_list == NULL) {
1520 ptr = new_list;
1522 ptr->next = talloc_zero(new_list, struct ares_srv_reply);
1525 talloc_free(new_list);
1537 talloc_free(new_list);
1547 /* And now put our own new_list in place. */
1548 *reply_list = new_list;
1843 struct ares_txt_reply *new_list = NULL;
1855 if (!new_list) {
1856 new_list = talloc_zero(mem_ctx, struct ares_txt_reply);
1857 if (new_list == NULL) {
1859 talloc_free(new_list);
1862 ptr = new_list;
1864 ptr->next = talloc_zero(new_list, struct ares_txt_reply);
1867 talloc_free(new_list);
1878 talloc_free(new_list);
1887 /* And now put our own new_list in place. */
1888 *reply_list = new_list;