diff --git a/dir.c b/dir.c index 6fea069..1ba95bd 100644 --- a/dir.c +++ b/dir.c @@ -315,14 +315,6 @@ void print_dir(WINDOW *win, char print_info, unsigned long *dir_file_count, file } else { mvwaddnstr(win, i-offset_vertical, 0, file_name, line_width); } - if (file_name != NULL) { - /* sometimes NULL remains, need to do deeper analysis soon */ - free(file_name); - } else { - printf("file_name remains NULL on %s, if this happens consistent on the same file, please inform me", dir_content[i].file_name); - volatile static int debug_print_dir; - debug_print_dir++; - } if (dir_content[i].status & FILE_STATUS_SELECTED) { wattroff(win, COLOR_PAIR(8)); } else {