data = json_object_new_array();
for (i = 0; i < n; i++) {
struct binary_package_publishing_history *binary;
- struct distro_arch_series *dist;
+ const struct distro_arch_series *dist;
struct daily_download_total **totals;
struct daily_download_total **t_cur;
}
daily_download_total_list_free(totals);
- distro_arch_series_free(dist);
}
str = strdup(json_object_to_json_string(data));