Fix garbage memory free again

This commit is contained in:
Willy-JL
2023-02-13 01:10:06 +00:00
parent 22cf51e92b
commit 4b9d270af7
+1 -1
View File
@@ -27,7 +27,7 @@ void anim(const Icon** replace, const char* name, FuriString* path, File* file)
const char* pack = XTREME_SETTINGS()->asset_pack;
bool ok = true;
for(int i = 0; ok && i < icon->frame_count; ++i) {
for(int i = 0; i < icon->frame_count; ++i) {
FURI_CONST_ASSIGN_PTR(icon->frames[i], 0);
if(ok) {
ok = false;