(tree_store_mark_checked): get rid of extra memory duplication.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2015-11-21 17:50:25 +03:00
parent d126c5e664
commit 66a6185064

View File

@ -772,9 +772,10 @@ tree_store_mark_checked (const char *subname)
{
/* Doesn't exist -> add it */
current = tree_store_add_entry (name);
ts.add_queue_vpath = g_list_prepend (ts.add_queue_vpath, vfs_path_clone (name));
ts.add_queue_vpath = g_list_prepend (ts.add_queue_vpath, name);
}
vfs_path_free (name);
else
vfs_path_free (name);
/* Clear the deletion mark from the subdirectory and its children */
base = current;