From 58803ba33ee53a5944d565373782e5f0868c5461 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 26 Feb 2015 14:15:47 +0300 Subject: [PATCH] Fix memory leaks --- src/GEOM_I/GEOM_Gen_i.cc | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.2