mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-29 22:49:55 +03:00
Archive: fix memory leak in favorites add/remove (#3712)
This commit is contained in:
parent
12c1d10246
commit
a47a55bfee
@ -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 New Issue
Block a user