Fix memory leak forgetting to clean up fontconfig

This commit is contained in:
Mitchell Hashimoto
2022-10-24 15:55:57 -07:00
parent 9ef431c632
commit 8dd9e7b325

View File

@ -139,7 +139,7 @@ pub const Fontconfig = struct {
}
pub fn deinit(self: *Fontconfig) void {
_ = self;
self.fc_config.destroy();
}
/// Discover fonts from a descriptor. This returns an iterator that can