mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 17:00:35 +05:00
Fix memory leaks
This commit is contained in:
parent
46b96ac794
commit
58803ba33e
@ -143,6 +143,9 @@ GEOM_Gen_i::GEOM_Gen_i(CORBA::ORB_ptr orb,
|
||||
GEOM_Gen_i::~GEOM_Gen_i() {
|
||||
delete name_service;
|
||||
delete _impl;
|
||||
std::map<std::string, GEOM_GenericOperationsCreator*>::const_iterator it;
|
||||
for ( it = myOpCreatorMap.begin(); it != myOpCreatorMap.end(); ++it)
|
||||
delete (*it).second;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user