mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Destroy converter before quit from editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d03a7e236b
commit
63a4966a70
@ -897,11 +897,12 @@ edit_clean (WEdit *edit)
|
||||
g_free (edit->filename);
|
||||
g_free (edit->dir);
|
||||
|
||||
if (edit->search)
|
||||
{
|
||||
mc_search_free(edit->search);
|
||||
edit->search = NULL;
|
||||
}
|
||||
mc_search_free (edit->search);
|
||||
edit->search = NULL;
|
||||
|
||||
if (edit->converter != str_cnv_from_term)
|
||||
str_close_conv (edit->converter);
|
||||
|
||||
edit_purge_widget (edit);
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user