Skip to content

Commit

Permalink
add some missing frees for subghz playlist
Browse files Browse the repository at this point in the history
found and fixed by Willy-JL
  • Loading branch information
xMasterX committed Dec 2, 2023
1 parent ca7b211 commit 7e6a9fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions base_pack/playlist/playlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 0 additions & 2 deletions non_catalog_apps/FlipperNightStand_clock/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7e6a9fa

Please sign in to comment.