From c98db322fd372a595cc03921ec932096d1677a9e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 6 Feb 2019 09:50:13 +0000 Subject: missing cairo_surface_destroy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4ff8dcf928ebefed1eaeebdcdcfb90c56ddfd39e Reviewed-on: https://gerrit.libreoffice.org/67440 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/headless/svpgdi.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl') 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, -- cgit