diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-07 13:11:54 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-07 13:12:46 +0300 |
commit | d9d185c0a0c3b0332bb2d4f3cef4b5e427128c42 (patch) | |
tree | 404f1f8287ed2d664e29b69818d4e1430492b0d9 /vcl | |
parent | 5a79f2dcbb7fff9bdc2895b0ac78e2a8ecf511e9 (diff) |
Plug potential resource leak
Change-Id: Ic01475e7f5dec64ab97af2674f05dc6303b334b7
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/quartz/salgdicommon.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index b4b6dadfb3cf..69ba6bb15984 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; } |