diff --git a/applications/main/archive/archive.c b/applications/main/archive/archive.c index a74e28ca7..1e9226c1e 100644 --- a/applications/main/archive/archive.c +++ b/applications/main/archive/archive.c @@ -89,7 +89,6 @@ void archive_free(ArchiveApp* archive) { ViewDispatcher* view_dispatcher = archive->view_dispatcher; // Loading - view_dispatcher_remove_view(view_dispatcher, ArchiveViewLoading); loading_free(archive->loading); view_dispatcher_remove_view(view_dispatcher, ArchiveViewTextInput); @@ -103,6 +102,8 @@ void archive_free(ArchiveApp* archive) { view_dispatcher_remove_view(view_dispatcher, ArchiveViewBrowser); + view_stack_free(archive->view_stack); + view_dispatcher_free(archive->view_dispatcher); scene_manager_free(archive->scene_manager); diff --git a/applications/main/archive/archive_i.h b/applications/main/archive/archive_i.h index c72f746c4..47ed728b7 100644 --- a/applications/main/archive/archive_i.h +++ b/applications/main/archive/archive_i.h @@ -21,7 +21,6 @@ typedef enum { ArchiveViewTextInput, ArchiveViewWidget, ArchiveViewTotal, - ArchiveViewLoading, ArchiveViewStack, ArchiveViewDialogEx, } ArchiveViewEnum;