Ticket #3459: (edit_clean): fix memory leak.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2015-05-09 16:10:29 +03:00 committed by Andrew Borodin
parent 290978e536
commit 216067a43c

View File

@ -2195,6 +2195,7 @@ edit_clean (WEdit * edit)
vfs_path_free (edit->dir_vpath);
mc_search_free (edit->search);
edit->search = NULL;
MC_PTR_FREE (edit->last_search_string);
#ifdef HAVE_CHARSET
if (edit->converter != str_cnv_from_term)