diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-12 19:45:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-12 21:48:42 +0200 |
commit | dbd4110cc36011042c98549d997daa79e8065aba (patch) | |
tree | e7df180d1d9ec2d6da0525171aacc894a2c4dde0 /canvas | |
parent | 16a17fc0951e77af357591deae71f8da50c03cae (diff) |
fix leak in canvas test
Change-Id: I01d52e67711b0201bbabb8c36e990f494466ae55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115499
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/qa/cppunit/canvastest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/qa/cppunit/canvastest.cxx b/canvas/qa/cppunit/canvastest.cxx index 4c00471bddd8..993983377d08 100644 --- a/canvas/qa/cppunit/canvastest.cxx +++ b/canvas/qa/cppunit/canvastest.cxx @@ -70,7 +70,7 @@ public: virtual void tearDown() override { - mVclDevice.clear(); + mVclDevice.disposeAndClear(); mCanvas = uno::Reference<rendering::XCanvas>(); mDevice = uno::Reference<rendering::XGraphicDevice>(); BootstrapFixture::tearDown(); |