forked from Ports/perfect_dark
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -263,6 +263,8 @@ s32 configLoad(const char *fname)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fsFileClose(f);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user