macOS: Fix small leak in glyph rendering code
This commit is contained in:
parent
0195e7f841
commit
8176f661ea
1 changed files with 2 additions and 0 deletions
|
|
@ -376,6 +376,8 @@
|
|||
CGContextSetTextMatrix(render_ctx, CGAffineTransformIdentity);
|
||||
CGContextSetTextPosition(render_ctx, 0, height - baseline);
|
||||
CTFontDrawGlyphs(font, glyphs, positions, num_glyphs, render_ctx);
|
||||
CGContextRelease(render_ctx);
|
||||
GColorSpaceRelease(gray_color_space);
|
||||
}
|
||||
|
||||
static inline bool
|
||||
|
|
|
|||
Loading…
Reference in a new issue