canvas/qa/cppunit/canvastest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dbd4110cc36011042c98549d997daa79e8065aba Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed May 12 19:45:21 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed May 12 21:48:42 2021 +0200 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.gran...@collabora.co.uk> 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits