mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-18 16:01:58 +01:00
closes cfg-files after reading
This commit is contained in:
parent
1c0ecfd589
commit
75774a0421
@ -947,6 +947,7 @@ bool cfg_parsefile(char *fname, void (*set_func)(char*, char*))
|
||||
if (line[0] == '#') continue;
|
||||
cfg_parseline(line, set_func);
|
||||
}
|
||||
fclose(f);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -967,6 +968,7 @@ bool cfg_parsetitlefile(char *fname, void (*set_func)(char*, char*, u8))
|
||||
if (line[0] == '#') continue;
|
||||
cfg_parsetitleline(line, set_func);
|
||||
}
|
||||
fclose(f);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user