Skip to content

Commit

Permalink
Fixed|libgui|OS X: Memory leak in native font renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 20, 2014
1 parent 1cd1082 commit 3401f02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/libgui/src/coretextnativefont_macx.cpp
Expand Up @@ -330,6 +330,7 @@ QImage CoreTextNativeFont::nativeFontRasterize(String const &text,
CTLineDraw(d->line, gc);

CGColorRelease(fgColor);
CGContextRelease(gc);

return backbuffer;
}
Expand Down

0 comments on commit 3401f02

Please sign in to comment.