diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-06 09:50:13 +0000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-07 19:16:56 +0100 |
commit | 82c83ca424a6c0defdc197c2cc7928c38acb669b (patch) | |
tree | 46f02968d6e1eafd47ee8f865ce3f74457031ba6 | |
parent | 0012f765304a9587d77ccb54bbeeef4e332e5d92 (diff) |
missing cairo_surface_destroy
Change-Id: I4ff8dcf928ebefed1eaeebdcdcfb90c56ddfd39e
Reviewed-on: https://gerrit.libreoffice.org/67451
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-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 1c310a2b1c70..502aa43c792f 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -1630,6 +1630,7 @@ void SvpSalGraphics::drawBitmap(const SalTwoRect& rTR, BitmapBuffer* pBuffer, ca { cairo_surface_t* source = createCairoSurface( pBuffer ); copyWithOperator(rTR, source, eOp); + cairo_surface_destroy(source); } void SvpSalGraphics::drawBitmap( const SalTwoRect& rTR, |