From 7e6a9fa23138703e8fd8c4d717db0047e253cdc3 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 2 Dec 2023 22:57:05 +0300 Subject: [PATCH] add some missing frees for subghz playlist found and fixed by Willy-JL --- base_pack/playlist/playlist.c | 2 ++ non_catalog_apps/FlipperNightStand_clock/application.fam | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base_pack/playlist/playlist.c b/base_pack/playlist/playlist.c index ba35cfe42ef..3ae152ba4f6 100644 --- a/base_pack/playlist/playlist.c +++ b/base_pack/playlist/playlist.c @@ -163,6 +163,7 @@ static int playlist_worker_process( flipper_format_get_raw_stream(fff_file), flipper_format_get_raw_stream(fff_data)); } flipper_format_file_close(fff_file); + flipper_format_free(fff_file); // (try to) send file SubGhzEnvironment* environment = subghz_environment_alloc(); @@ -220,6 +221,7 @@ static int playlist_worker_process( subghz_devices_idle(worker->radio_device); subghz_transmitter_free(transmitter); + subghz_environment_free(environment); return status; } diff --git a/non_catalog_apps/FlipperNightStand_clock/application.fam b/non_catalog_apps/FlipperNightStand_clock/application.fam index c09b3798930..380c34b164d 100644 --- a/non_catalog_apps/FlipperNightStand_clock/application.fam +++ b/non_catalog_apps/FlipperNightStand_clock/application.fam @@ -4,11 +4,9 @@ App( apptype=FlipperAppType.EXTERNAL, entry_point="clock_app", requires=["gui"], - icon="A_Clock_14", stack_size=2 * 1024, fap_icon="clock.png", fap_category="Tools", - order=81, fap_author="@nymda & @Willy-JL", fap_weburl="https://github.com/nymda/FlipperNightStand", fap_version="1.0",