diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-01 11:12:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-01 12:57:37 +0200 |
commit | 25a648541a423b794b5827552e03fba1084b3792 (patch) | |
tree | 1a1747425efa7d1679dc1aac030e61b28913efef /framework/qa/cppunit | |
parent | 460b70779e5b88fcb021bf3f6ea1d682e1d6e0f3 (diff) |
fix leak in CppunitTest_framework_services
Change-Id: I522e3e9b57668d7a8d1df10f4520045a3a3553dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116524
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/qa/cppunit')
-rw-r--r-- | framework/qa/cppunit/services.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qa/cppunit/services.cxx b/framework/qa/cppunit/services.cxx index 93d05ff65ca5..c75ce9f65633 100644 --- a/framework/qa/cppunit/services.cxx +++ b/framework/qa/cppunit/services.cxx @@ -94,7 +94,7 @@ CPPUNIT_TEST_FIXTURE(Test, testLoadComponentFromURL) // Create a default window, so by the time the thread would post a user event, it doesn't need // the solar mutex to process a SendMessageW() call on Windows. - VclPtrInstance<WorkWindow> xWindow(nullptr, WB_APP | WB_STDWORK); + ScopedVclPtrInstance<WorkWindow> xWindow(nullptr, WB_APP | WB_STDWORK); // Variable is not used, it holds the default window. (void)xWindow; |