Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b96ac
)
Fix memory leaks
author
vsr
<vsr@opencascade.com>
Thu, 26 Feb 2015 11:15:47 +0000
(14:15 +0300)
committer
vsr
<vsr@opencascade.com>
Thu, 26 Feb 2015 11:15:47 +0000
(14:15 +0300)
src/GEOM_I/GEOM_Gen_i.cc
patch
|
blob
|
history
diff --git
a/src/GEOM_I/GEOM_Gen_i.cc
b/src/GEOM_I/GEOM_Gen_i.cc
index 3719658f331c53a8453e24fe00df900740e45f4a..3c6a97386e0bdcfd501b3419ecf1141d10138b82 100755
(executable)
--- 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<std::string, GEOM_GenericOperationsCreator*>::const_iterator it;
+ for ( it = myOpCreatorMap.begin(); it != myOpCreatorMap.end(); ++it)
+ delete (*it).second;
}