Kaydet (Commit) 634baa87 authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Fridrich Strba

coverity#704143: Resource leak in object

Change-Id: I6bf9fc6e65de857d4d05df0c7be64dc6ec38dc07
Reviewed-on: https://gerrit.libreoffice.org/2686Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst a53f5933
......@@ -209,6 +209,10 @@ namespace abp
OSL_FAIL( "ODataSourceContext::ODataSourceContext: caught an exception!" );
}
}
ODataSourceContext::~ODataSourceContext()
{
delete(m_pImpl);
}
//---------------------------------------------------------------------
::rtl::OUString& ODataSourceContext::disambiguate(::rtl::OUString& _rDataSourceName)
......
......@@ -56,6 +56,7 @@ namespace abp
ODataSourceContext(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB
);
~ODataSourceContext();
/// retrieves the names of all data sources
void getDataSourceNames( StringBag& _rNames ) const SAL_THROW (( ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment