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:
Andrew Borodin 2014-09-03 09:45:56 +04:00
parent 9ec680a602
commit b36adca2d1
2 changed files with 2 additions and 4 deletions

View File

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

View File

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