Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96628d6
)
Fix endless loop in destructor on Win32 platform
author
abd
<abd@opencascade.com>
Fri, 30 Jan 2009 13:36:57 +0000
(13:36 +0000)
committer
abd
<abd@opencascade.com>
Fri, 30 Jan 2009 13:36:57 +0000
(13:36 +0000)
src/DF/DF_Attribute.cxx
patch
|
blob
|
history
diff --git
a/src/DF/DF_Attribute.cxx
b/src/DF/DF_Attribute.cxx
index 64cd7de7b8530c8adfb96363b462c331edf1d557..976a36eea4bda318ed7c2d90cec8c207bdee9c4a 100644
(file)
--- a/
src/DF/DF_Attribute.cxx
+++ b/
src/DF/DF_Attribute.cxx
@@
-41,7
+41,8
@@
DF_Attribute::~DF_Attribute()
map<string, DF_Attribute*>::iterator mi;
for(mi =_node->_attributes.begin(); mi != _node->_attributes.end(); mi++) {
if(mi->second == this) {
- _node->_attributes.erase(mi);
+ _node->_attributes.erase(mi);
+ break;
}
}
}