mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-18 17:30:37 +05:00
Fix memory leaks
This commit is contained in:
parent
c20be9052a
commit
4578c1cfee
@ -21,6 +21,8 @@
|
||||
//
|
||||
#include <Standard_Stream.hxx>
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
#include <GEOM_Object.hxx>
|
||||
#include <GEOM_Engine.hxx>
|
||||
#include <GEOM_Solver.hxx>
|
||||
@ -162,6 +164,16 @@ GEOM_Object::GEOM_Object(TDF_Label& theEntry, int theType)
|
||||
TDataStd_UAttribute::Set(theEntry, GetObjectID());
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* Destructor
|
||||
*/
|
||||
//=============================================================================
|
||||
GEOM_Object::~GEOM_Object()
|
||||
{
|
||||
MESSAGE("GEOM_Object::~GEOM_Object()");
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* GetType
|
||||
|
@ -156,7 +156,7 @@ class GEOM_Object : public MMgt_TShared
|
||||
|
||||
public:
|
||||
Standard_EXPORT GEOM_Object(TDF_Label& theEntry, int theType);
|
||||
Standard_EXPORT ~GEOM_Object() {;}
|
||||
Standard_EXPORT ~GEOM_Object();
|
||||
|
||||
//Finds a GEOM_Object on the label theLabel
|
||||
Standard_EXPORT static Handle(GEOM_Object) GetObject(TDF_Label& theLabel);
|
||||
|
Loading…
Reference in New Issue
Block a user