mirror of https://github.com/MidnightCommander/mc
Fixed memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d2aad0716b
commit
cc975c8024
|
@ -1747,7 +1747,7 @@ edit_replace_cmd (WEdit * edit, int again)
|
|||
if (edit->search == NULL)
|
||||
{
|
||||
edit->search_start = edit->curs1;
|
||||
return;
|
||||
goto cleanup;
|
||||
}
|
||||
edit->search->search_type = edit_search_options.type;
|
||||
edit->search->is_all_charsets = edit_search_options.all_codepages;
|
||||
|
|
Loading…
Reference in New Issue