mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-08 05:39:09 -07:00
furi_string_free
This commit is contained in:
@@ -139,7 +139,7 @@ void chip8_close_emulator(Chip8Emulator* chip8) {
|
||||
furi_thread_flags_set(furi_thread_get_id(chip8->thread), WorkerEvtEnd);
|
||||
furi_thread_join(chip8->thread);
|
||||
furi_thread_free(chip8->thread);
|
||||
string_clear(chip8->file_path);
|
||||
furi_string_free(chip8->file_path);
|
||||
free(chip8);
|
||||
FURI_LOG_I("chip_8_close_emulator", "end");
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ void chip8_scene_work_on_enter(void* context) {
|
||||
|
||||
app->chip8 = chip8_make_emulator(file_tmp);
|
||||
|
||||
string_clear(file_tmp);
|
||||
furi_string_free(file_tmp);
|
||||
|
||||
chip8_set_state(app->chip8_view, chip8_get_state(app->chip8));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user