mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0023279: Accessing NULL pointer
Assuring the pointer is not 'NULL'.
This commit is contained in:
parent
575aec54df
commit
207e57e4c2
@ -108,7 +108,7 @@ Standard_MMgrFactory::Standard_MMgrFactory()
|
|||||||
|
|
||||||
Standard_MMgrFactory::~Standard_MMgrFactory()
|
Standard_MMgrFactory::~Standard_MMgrFactory()
|
||||||
{
|
{
|
||||||
if ( ! myFMMgr ) {
|
if ( myFMMgr ) {
|
||||||
myFMMgr->Purge(Standard_True);
|
myFMMgr->Purge(Standard_True);
|
||||||
// delete myFMMgr;
|
// delete myFMMgr;
|
||||||
// myFMMgr = 0;
|
// myFMMgr = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user