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