diff options
Diffstat (limited to 'sfx2/source/explorer')
-rw-r--r-- | sfx2/source/explorer/nochaos.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/explorer/nochaos.cxx b/sfx2/source/explorer/nochaos.cxx index 10e4c30bd0b4..33f219e3247e 100644 --- a/sfx2/source/explorer/nochaos.cxx +++ b/sfx2/source/explorer/nochaos.cxx @@ -145,8 +145,10 @@ sal_uInt16 CntItemPool::Release() if ( !nRefs ) { - DELETEZ( _pThePool ); - DELETEZ( pPoolDefs_Impl ); + delete _pThePool; + _pThePool = nullptr; + delete pPoolDefs_Impl; + pPoolDefs_Impl = nullptr; return 0; } |