mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
port: close config after reading it
This commit is contained in:
1 parent
f48879653a
commit
8600aead20
1 file changed
+3
-1
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user