Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'applications/gui/modules/empty_screen.c')
-rw-r--r--applications/gui/modules/empty_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/gui/modules/empty_screen.c b/applications/gui/modules/empty_screen.c
index a887786d..61b4af36 100644
--- a/applications/gui/modules/empty_screen.c
+++ b/applications/gui/modules/empty_screen.c
@@ -14,7 +14,7 @@ static bool empty_screen_view_input_callback(InputEvent* event, void* context) {
}
EmptyScreen* empty_screen_alloc() {
- EmptyScreen* empty_screen = furi_alloc(sizeof(EmptyScreen));
+ EmptyScreen* empty_screen = malloc(sizeof(EmptyScreen));
empty_screen->view = view_alloc();
view_set_context(empty_screen->view, empty_screen);
view_set_draw_callback(empty_screen->view, empty_screen_view_draw_callback);
@@ -31,4 +31,4 @@ void empty_screen_free(EmptyScreen* empty_screen) {
View* empty_screen_get_view(EmptyScreen* empty_screen) {
furi_assert(empty_screen);
return empty_screen->view;
-} \ No newline at end of file
+}