cleanup:
- g_slist_free_full(blacklist, g_free);
+ cr_slist_free_full(blacklist, g_free);
g_free(full_repopath);
if (dirp)
g_dir_close(dirp);
exit:
// Cleanup
- g_slist_free_full(blacklist, g_free);
+ cr_slist_free_full(blacklist, g_free);
if (dirp)
g_dir_close(dirp);
// Process the tasks
ret = cr_modifyrepo(modifyrepotasks, repodatadir, &err);
- g_slist_free_full(modifyrepotasks, (GDestroyNotify)cr_modifyrepotask_free);
+ cr_slist_free_full(modifyrepotasks, (GDestroyNotify)cr_modifyrepotask_free);
if (!ret) {
g_printerr("%s\n", err->message);
g_warning("Cannot remove \"%s\": %s", realpath, strerror(errno));
g_free(realpath);
}
- g_slist_free_full(recordstoremove, (GDestroyNotify)cr_repomd_record_free);
+ cr_slist_free_full(recordstoremove, (GDestroyNotify)cr_repomd_record_free);
cr_repomd_free(repomd);
if (success) {
*modifyrepotasks = g_slist_concat(*modifyrepotasks, tasks);
} else {
- g_slist_free_full(tasks, (GDestroyNotify)cr_modifyrepotask_free);
+ cr_slist_free_full(tasks, (GDestroyNotify)cr_modifyrepotask_free);
}
g_key_file_free(keyfile);