mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Ticket #3265: code cleanup before 4.8.14 release.
Use MC_PTR_FREE again. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
9ec680a602
commit
b36adca2d1
@ -249,8 +249,7 @@ parse_ignore_dirs (const char *ignore_dirs)
|
||||
if (find_ignore_dirs[r][0] == '\0')
|
||||
{
|
||||
/* empty entry -- skip it */
|
||||
g_free (find_ignore_dirs[r]);
|
||||
find_ignore_dirs[r] = NULL;
|
||||
MC_PTR_FREE (find_ignore_dirs[r]);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -242,8 +242,7 @@ mcview_done (mcview_t * view)
|
||||
|
||||
mc_search_free (view->search);
|
||||
view->search = NULL;
|
||||
g_free (view->last_search_string);
|
||||
view->last_search_string = NULL;
|
||||
MC_PTR_FREE (view->last_search_string);
|
||||
mcview_nroff_seq_free (&view->search_nroff_seq);
|
||||
mcview_hexedit_free_change_list (view);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user