1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

Compare commits

...

1 Commits

Author SHA1 Message Date
kgv
2d869dc155 0031844: Coding - memory leak in Standard_MMgrFactory
Added missing deletion (previously commented without a hint why).
2020-10-13 07:50:19 +03:00

View File

@@ -179,8 +179,11 @@ Standard_MMgrFactory::Standard_MMgrFactory()
Standard_MMgrFactory::~Standard_MMgrFactory()
{
if ( myFMMgr )
if (myFMMgr != NULL)
{
myFMMgr->Purge(Standard_True);
delete myFMMgr;
}
}
//=======================================================================