coverity#705811 Dereference before null check
Change-Id: I275739819715f1537e80d621b19a88a6fdbab95b
This commit is contained in:
@@ -565,13 +565,10 @@ namespace pcr
|
||||
}
|
||||
|
||||
// delete the pool
|
||||
if (_rpPool)
|
||||
{
|
||||
_rpPool->ReleaseDefaults(sal_True);
|
||||
// the "true" means delete the items, too
|
||||
SfxItemPool::Free(_rpPool);
|
||||
_rpPool = NULL;
|
||||
}
|
||||
_rpPool->ReleaseDefaults(sal_True);
|
||||
// the "true" means delete the items, too
|
||||
SfxItemPool::Free(_rpPool);
|
||||
_rpPool = NULL;
|
||||
|
||||
// reset the defaults ptr
|
||||
_rppDefaults = NULL;
|
||||
|
Reference in New Issue
Block a user