mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-09 04:52:04 +03:00
Fix of memory leak in TreeStore::check_name destruction.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
7ede081a14
commit
dc52b3488d
@ -908,7 +908,7 @@ tree_store_end_check (void)
|
||||
ts.add_queue_vpath = g_list_reverse (ts.add_queue_vpath);
|
||||
the_queue = ts.add_queue_vpath;
|
||||
ts.add_queue_vpath = NULL;
|
||||
g_free (ts.check_name);
|
||||
vfs_path_free (ts.check_name);
|
||||
ts.check_name = NULL;
|
||||
|
||||
g_list_foreach (the_queue, (GFunc) vfs_path_free, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user