vcl/quartz/salgdicommon.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit d9d185c0a0c3b0332bb2d4f3cef4b5e427128c42 Author: Tor Lillqvist <t...@collabora.com> Date: Mon Apr 7 13:11:54 2014 +0300
Plug potential resource leak Change-Id: Ic01475e7f5dec64ab97af2674f05dc6303b334b7 diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index b4b6dad..69ba6bb 100644 --- a/vcl/quartz/salgdicommon.cxx +++ b/vcl/quartz/salgdicommon.cxx @@ -969,6 +969,9 @@ bool AquaSalGraphics::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPol } else { + SAL_WARN( "vcl.quartz", "Neither pen nor brush visible" ); + CG_TRACE( "CGPathRelease(" << xPath << ")" ); + CGPathRelease( xPath ); return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits