port: close config after reading it
This commit is contained in:
parent
f48879653a
commit
8600aead20
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue