diff --git a/src/filemanager/find.c b/src/filemanager/find.c index b365bb871..5a1e420af 100644 --- a/src/filemanager/find.c +++ b/src/filemanager/find.c @@ -1857,7 +1857,7 @@ do_find (WPanel * panel, const char *start_dir, ssize_t start_dir_len, const cha continue; } - list->list[list->len].fname = mc_g_string_dup (list->list[list->len].fname); + list->list[list->len].fname = g_string_new (p); list->list[list->len].f.marked = 0; list->list[list->len].f.link_to_dir = link_to_dir ? 1 : 0; list->list[list->len].f.stale_link = stale_link ? 1 : 0;