mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
font/coretext: fix small memory leak
This commit is contained in:
@ -831,6 +831,9 @@ pub const CoreText = struct {
|
||||
i: usize,
|
||||
|
||||
pub fn deinit(self: *DiscoverIterator) void {
|
||||
for (self.list) |desc| {
|
||||
desc.release();
|
||||
}
|
||||
self.alloc.free(self.list);
|
||||
self.* = undefined;
|
||||
}
|
||||
|
Reference in New Issue
Block a user