]> git.wh0rd.org Git - nano.git/commitdiff
remove redundancy
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 26 May 2005 05:53:29 +0000 (05:53 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 26 May 2005 05:53:29 +0000 (05:53 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2549 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/global.c

index 6caf02c83087df6449bab361b462585bb0642813..5c8cd08c0bbf16e61d074103b0fded7527a1ea33 100644 (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);