diff --git a/Common/Render/Text/draw_text_cocoa.mm b/Common/Render/Text/draw_text_cocoa.mm index 42a3660954..4776e03f87 100644 --- a/Common/Render/Text/draw_text_cocoa.mm +++ b/Common/Render/Text/draw_text_cocoa.mm @@ -50,6 +50,7 @@ public: (__bridge id)font, kCTFontAttributeName, kCFBooleanTrue, kCTForegroundColorFromContextAttributeName, // Lets us specify the color later. nil]; + CFRelease(font); } void Destroy() { //CFRelease(font);