mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
Fix memory leak forgetting to clean up fontconfig
This commit is contained in:
@ -139,7 +139,7 @@ pub const Fontconfig = struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn deinit(self: *Fontconfig) void {
|
pub fn deinit(self: *Fontconfig) void {
|
||||||
_ = self;
|
self.fc_config.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Discover fonts from a descriptor. This returns an iterator that can
|
/// Discover fonts from a descriptor. This returns an iterator that can
|
||||||
|
Reference in New Issue
Block a user