mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-12 10:53:23 +03:00
(file_mask_dialog): don't return an empty string.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
0af1c270e2
commit
32687c9c4e
@ -1821,9 +1821,6 @@ do_confirm_copy_move (const WPanel * panel, FileOperation operation, gboolean fo
|
||||
g_free (format);
|
||||
g_free (dest_dir);
|
||||
|
||||
if (ret == NULL || ret[0] == '\0')
|
||||
MC_PTR_FREE (ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -1300,7 +1300,8 @@ file_mask_dialog (file_op_context_t * ctx, FileOperation operation,
|
||||
{
|
||||
g_free (def_text_secure);
|
||||
g_free (source_mask);
|
||||
return dest_dir;
|
||||
g_free (dest_dir);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ctx->search_handle = mc_search_new (source_mask, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user