diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/componentmodule.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/comphelper/source/misc/componentmodule.cxx b/comphelper/source/misc/componentmodule.cxx index c42308c71508..0130cbb9dade 100644 --- a/comphelper/source/misc/componentmodule.cxx +++ b/comphelper/source/misc/componentmodule.cxx @@ -84,12 +84,15 @@ namespace comphelper //========================================================================= //------------------------------------------------------------------------- OModule::OModule() - :m_nClients( 0 ) - ,m_pImpl( new OModuleImpl ) + : m_nClients(0) + , m_pImpl(new OModuleImpl) { } - OModule::~OModule() {} + OModule::~OModule() + { + delete m_pImpl; + } //------------------------------------------------------------------------- void OModule::registerClient( OModule::ClientAccess ) |