mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0023279: Accessing NULL pointer
Assuring the pointer is not 'NULL'.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user