fix memory leak

This commit is contained in:
MX 2022-10-11 03:29:59 +03:00
parent 52361b4adf
commit 349a151330
No known key found for this signature in database
GPG Key ID: 6C4C311DFD4B4AB5

View File

@ -857,6 +857,9 @@ bool subghz_history_tmp_write_file_split(
flipper_format_file_close(flipper_format_file);
flipper_format_free(flipper_format_file);
furi_string_free(temp_str);
flipper_format_free(item->flipper_string);
item->flipper_string = NULL;
item->is_file = true;
return result;
}