if (bg->file_cache) { for (list = bg->file_cache; list != NULL; list = list->next) { FileCacheEntry *ent = list->data;
if (ent->type == PIXBUF) { file_cache_entry_delete (ent); bg->file_cache = g_list_delete_link (bg->file_cache, list); } } }
The code is crashing on the "list->data" dereference. Just like Openbox.
if (bg->file_cache) { Entry *ent = list->data;
for (list = bg->file_cache; list != NULL; list = list->next) {
FileCache
if (ent->type == PIXBUF) {
file_cache_ entry_delete (ent);
bg->file_ cache = g_list_delete_link (bg->file_cache,
list);
}
}
}
The code is crashing on the "list->data" dereference. Just like Openbox.