Remove unnecessary loop.
authorsebastid <sebastid>
Tue, 15 Feb 2005 17:05:34 +0000 (17:05 +0000)
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 15 Feb 2005 17:05:34 +0000 (17:05 +0000)
SVN revision: 13377

src/bin/e_apps.c

index c71cebe..4111278 100644 (file)
@@ -791,12 +791,9 @@ _e_app_check_each(Evas_Hash *hash, const char *key, void *data, void *fdata)
                                 a->subapps = evas_list_remove(a->subapps, a2);
                                 a->subapps = evas_list_append(a->subapps, a2);
                              }
+                           free(s);
                         }
-                      while (files)
-                        {
-                           free(files->data);
-                           files = evas_list_remove_list(files, files);
-                        }
+                      evas_list_free(files);
                    }
               }
          }