diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-15 13:34:17 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-15 18:03:17 +0200 |
commit | 4eb856f0b42f56b1203e05fd397a424d7c74c255 (patch) | |
tree | aa4f578f193a3a7e10249ce68c23caa4fad3085e /sw/qa/core | |
parent | a4c9c8b3fb50e5b0344f77b57db757ebbb679144 (diff) |
sw: fix temp file leak in SwDocTest
Change-Id: I493af417e9bf6c781638a5a2ec10c3bed32d1b8a
Diffstat (limited to 'sw/qa/core')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index fe8dd092a5d3..8efd1b020b1f 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -1263,8 +1263,9 @@ void SwDocTest::setUp() void SwDocTest::tearDown() { + m_pDoc = 0; // deleted by DoClose() + m_xDocShRef->DoClose(); m_xDocShRef.Clear(); - delete m_pDoc; BootstrapFixture::tearDown(); } |