port: close config after reading it

This commit is contained in:
fgsfds 2023-08-15 22:00:39 +02:00
parent f48879653a
commit 8600aead20
1 changed files with 3 additions and 1 deletions

View File

@ -169,7 +169,7 @@ s32 configSave(const char *fname)
}
}
fclose(f);
fsFileClose(f);
return 1;
}
@ -263,6 +263,8 @@ s32 configLoad(const char *fname)
}
}
fsFileClose(f);
return 1;
}