From: vsr Date: Thu, 26 Feb 2015 11:15:47 +0000 (+0300) Subject: Fix memory leaks X-Git-Tag: V7_6_0a1~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58803ba33ee53a5944d565373782e5f0868c5461;p=modules%2Fgeom.git Fix memory leaks --- diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc index 3719658f3..3c6a97386 100755 --- a/src/GEOM_I/GEOM_Gen_i.cc +++ b/src/GEOM_I/GEOM_Gen_i.cc @@ -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::const_iterator it; + for ( it = myOpCreatorMap.begin(); it != myOpCreatorMap.end(); ++it) + delete (*it).second; }