remove redundancy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2549 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2005-05-26 05:53:29 +00:00
parent 86d8fc37d7
commit 5d8d0b19be
1 changed files with 2 additions and 5 deletions

View File

@ -1216,12 +1216,9 @@ void thanks_for_all_the_fish(void)
}
#endif
#ifdef ENABLE_MULTIBUFFER
if (open_files != NULL) {
/* Free the memory associated with each open file buffer. */
while (open_files != open_files->prev)
open_files = open_files->prev;
/* Free the memory associated with each open file buffer. */
if (open_files != NULL)
free_openfilestruct(open_files);
}
#else
if (fileage != NULL)
free_filestruct(fileage);