mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
Ticket #3459: (edit_clean): fix memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
290978e536
commit
216067a43c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user