mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-29 16:00:22 +00:00
Archive: fix memory leak in favorites add/remove (#3712)
This commit is contained in:
parent
12c1d10246
commit
a47a55bfee
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ void archive_file_append(const char* path, const char* format, ...) {
|
|||
storage_file_write(file, furi_string_get_cstr(string), furi_string_size(string));
|
||||
}
|
||||
|
||||
furi_string_free(string);
|
||||
storage_file_close(file);
|
||||
storage_file_free(file);
|
||||
furi_record_close(RECORD_STORAGE);
|
||||
|
|
Loading…
Reference in a new issue