diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-11 22:34:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-12 09:10:02 +0100 |
commit | b55910d9ba6b57b621be638917b934300b8f7df3 (patch) | |
tree | 9aa8c2822f828daa7ea3aaf180683e1ab2ebad1f /comphelper | |
parent | 6022aab435c48bbfc29bd2c0826dae25bf8655a3 (diff) |
why leak m_pImpl
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 ) |