diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-28 10:04:55 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-28 10:53:14 +0100 |
commit | f6a3bcdc109d6e6a37221c7f40d5b8423efc95ca (patch) | |
tree | dc6d3a7f908818b3931f54414d1f6d9d27b6e058 /ucb/source/ucp | |
parent | baaf3ed1296038a4eda09bf41b1d8b210a41edf2 (diff) |
coverity#705769: fix memory leak
Change-Id: I77454dd6c33c8309991108343a2895792095f95d
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_datasupplier.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx index 65daafdcf784..6c33708c0199 100644 --- a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx +++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx @@ -428,6 +428,7 @@ bool ResultSetDataSupplier::queryNamesOfChildren() *pNamesOfChildren ) ) { OSL_FAIL( "Got no list of children!" ); + delete pNamesOfChildren; m_pImpl->m_bThrowException = sal_True; return false; } |