fix: close config file again

This commit is contained in:
LordMZTE 2022-09-27 20:59:02 +02:00
parent c2747598f0
commit 65564de9d2
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -32,6 +32,7 @@ pub const Config = struct {
std.log.warn("Failed to open config file ({e}). Skipping config!", .{err});
return self;
};
defer file.close();
var parser = ini.parse(std.heap.c_allocator, file.reader());
defer parser.deinit();