summaryrefslogtreecommitdiff
path: root/cppuhelper/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-16 10:28:03 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-16 15:41:26 +0200
commite6a9df96653bb47614907075426a5e45ef6b69a0 (patch)
treefe5f53041eaf94686a3f824bb4193c5806c365bd /cppuhelper/source
parent067dd53523ecf2c5a6343c6f5b84e4074d9e9a7d (diff)
delete[] after use
Diffstat (limited to 'cppuhelper/source')
-rw-r--r--cppuhelper/source/component_context.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 43213349366b..0d69e5b73331 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -892,6 +892,7 @@ Reference< XComponentContext > SAL_CALL createComponentContext(
void * mapped_delegate = curr2source.mapInterface(xDelegate.get(), ::getCppuType(&xDelegate));
XComponentContext * pXComponentContext = NULL;
source_env.invoke(s_createComponentContext_v, mapped_entries, nEntries, mapped_delegate, &pXComponentContext, &source2curr);
+ delete[] mapped_entries;
return Reference<XComponentContext>(pXComponentContext, SAL_NO_ACQUIRE);
}