mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(tree_store_mark_checked): get rid of extra memory duplication.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d126c5e664
commit
66a6185064
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user