log_warning(LOG_PROTOCOL, _("couldn't get xover range\n"));
debug_print("couldn't get xover for %d-%d\n", cbeg, cend);
if (l != NULL)
- clist_free(l);
- clist_free(h);
+ newsnntp_xover_resp_list_free(l);
+ newsnntp_xover_resp_list_free(h);
return result.error;
}
debug_print("total items so far %d, items this batch %d\n",
clist_count(h), clist_count(l));
clist_concat(h, l);
+ clist_free(l);
l = NULL;
}
log_warning(LOG_PROTOCOL, _("couldn't get xhdr range\n"));
debug_print("couldn't get xhdr %s %d-%d\n", header, cbeg, cend);
if (l != NULL)
- clist_free(l);
- clist_free(h);
+ newsnntp_xhdr_free(l);
+ newsnntp_xhdr_free(h);
return result.error;
}
debug_print("total items so far %d, items this batch %d\n",
clist_count(h), clist_count(l));
clist_concat(h, l);
+ clist_free(l);
l = NULL;
}
}
news_folder_unlock(NEWS_FOLDER(item->folder));
if (hdrlist != NULL)
- clist_free(hdrlist);
+ newsnntp_xhdr_free(hdrlist);
return;
}
}
news_folder_unlock(NEWS_FOLDER(item->folder));
if (hdrlist != NULL)
- clist_free(hdrlist);
+ newsnntp_xhdr_free(hdrlist);
return;
}
}
news_folder_unlock(NEWS_FOLDER(item->folder));
if (hdrlist != NULL)
- clist_free(hdrlist);
+ newsnntp_xhdr_free(hdrlist);
return;
}
}
news_folder_unlock(NEWS_FOLDER(item->folder));
if (msglist != NULL)
- clist_free(msglist);
+ newsnntp_xover_resp_list_free(msglist);
return NULL;
}