furi_string_free

This commit is contained in:
RogueMaster
2022-10-07 03:00:38 -04:00
parent 8186b84251
commit 3cd01b03e9
12 changed files with 21 additions and 21 deletions

View File

@@ -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");
}

View File

@@ -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));