mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +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