diff --git a/kitty/core_text.m b/kitty/core_text.m index 398620c24..a3b296b92 100644 --- a/kitty/core_text.m +++ b/kitty/core_text.m @@ -377,7 +377,7 @@ render_glyphs(CTFontRef font, unsigned int width, unsigned int height, unsigned CGContextSetTextPosition(render_ctx, 0, height - baseline); CTFontDrawGlyphs(font, glyphs, positions, num_glyphs, render_ctx); CGContextRelease(render_ctx); - GColorSpaceRelease(gray_color_space); + CGColorSpaceRelease(gray_color_space); } static inline bool