double free occurs in
src/nautilus-tree-sidebar.c: 1015
static void
fm_tree_view_trash_cb (GtkWidget *menu_item,
FMTreeView *view)
{
GList *list;
if (!nautilus_file_can_trash (view->details->popup_file)) {
return;
}
list = g_list_prepend (NULL,
nautilus_file_get_location (view->details->popup_file));
nautilus_file_operations_trash_or_delete (list,
fm_tree_view_get_containing_window (view),
NULL, NULL);
g_list_free_full (list, g_free);
}
The final call to g_list_free_full (list, g_free) causes the problem.
Just for more informations sake, using g_object_unref instead of gfree
avoids the crash, as does not calling g_list_free_full at all and so not
double freeing. But someone with actual gobject memory management
knowledge will need to look for the real problem, personally I thought
g_free was supposed to handle this safely.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/845408
Title:
nautilus quits when deleting a folder in the left side treeview
To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/845408/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs