diff options
Diffstat (limited to 'sot/source/base/factory.cxx')
-rw-r--r-- | sot/source/base/factory.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx index 15ac9b97d825..1a7e80805ad9 100644 --- a/sot/source/base/factory.cxx +++ b/sot/source/base/factory.cxx @@ -48,17 +48,25 @@ SotData_Impl::SotData_Impl() : nSvObjCount( 0 ) , pFactoryList( NULL ) + , pSotObjectFactory( NULL ) + , pSotStorageStreamFactory( NULL ) + , pSotStorageFactory( NULL ) , pDataFlavorList( NULL ) { } +SotData_Impl::~SotData_Impl() +{ + delete pDataFlavorList; + delete pFactoryList; +} + /************************************************************************* |* SOTDATA() |* |* Beschreibung *************************************************************************/ namespace { struct ImplData : public rtl::Static<SotData_Impl, ImplData> {}; } - SotData_Impl * SOTDATA() { return &ImplData::get(); |