Destroy converter before quit from editor.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-03-05 22:35:36 +03:00
parent d03a7e236b
commit 63a4966a70

View File

@ -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;