summaryrefslogtreecommitdiff
path: root/vcl/quartz/ctfonts.cxx
diff options
context:
space:
mode:
authorPtyl Dragon <ptyl@cloudon.com>2014-05-08 15:58:50 +0300
committerTor Lillqvist <tml@collabora.com>2014-05-08 16:59:53 +0300
commit4b1ccdefe2594d8bec9343171c15ff1f90ac97bf (patch)
tree53994826d9898c8712bb049fd0a8fc8f0ee50470 /vcl/quartz/ctfonts.cxx
parentd6f5d4ee2cd0654497f1af37421d788411db762c (diff)
fix memory leaks in vcl quartz
Change-Id: Ifb6a924759b8a3a7f459f2335144ca4dda434cb9
Diffstat (limited to 'vcl/quartz/ctfonts.cxx')
-rw-r--r--vcl/quartz/ctfonts.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx
index 029caed18702..919ac5d557c4 100644
--- a/vcl/quartz/ctfonts.cxx
+++ b/vcl/quartz/ctfonts.cxx
@@ -207,6 +207,7 @@ bool CoreTextStyle::GetGlyphOutline( sal_GlyphId aGlyphId, basegfx::B2DPolyPolyg
const CGPathElement aClosingElement = { kCGPathElementCloseSubpath, NULL };
MyCGPathApplierFunc( (void*)&aGgoData, &aClosingElement );
#endif
+ CFRelease( xPath );
return true;
}