mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +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()
|
||||
{
|
||||
if ( ! myFMMgr ) {
|
||||
if ( myFMMgr ) {
|
||||
myFMMgr->Purge(Standard_True);
|
||||
// delete myFMMgr;
|
||||
// myFMMgr = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user