diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-06 09:50:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-06 13:13:58 +0100 |
commit | c98db322fd372a595cc03921ec932096d1677a9e (patch) | |
tree | 3d3d592bd8f17a83763b8f429869d58af6b2a705 | |
parent | ef16a585dd4429b25ca7ba1cccb898342cdbc6b4 (diff) |
missing cairo_surface_destroy
Change-Id: I4ff8dcf928ebefed1eaeebdcdcfb90c56ddfd39e
Reviewed-on: https://gerrit.libreoffice.org/67440
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/headless/svpgdi.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index dd6dee02972e..fed0c45af4e3 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -1628,6 +1628,7 @@ void SvpSalGraphics::drawBitmap(const SalTwoRect& rTR, const BitmapBuffer* pBuff { cairo_surface_t* source = createCairoSurface( pBuffer ); copyWithOperator(rTR, source, eOp); + cairo_surface_destroy(source); } void SvpSalGraphics::drawBitmap( const SalTwoRect& rTR, |