[Uml-devel] kdesdk/umbrello/umbrello
Brian Thomas
thomas at mail630.gsfc.nasa.gov
Mon Oct 6 19:49:03 UTC 2003
CVS commit by thomas:
bug fix: trying to delete code accessor blocks twice once in owning object, and again here in the codeclassfield.
M +2 -2 codeclassfield.cpp 1.11
--- kdesdk/umbrello/umbrello/codeclassfield.cpp #1.10:1.11
@@ -54,5 +54,5 @@ CodeClassField::~CodeClassField ( ) {
{
removeMethod(m);
- delete m;
+ //delete m; // no..will be deleted by the owning hcodeblock/codedoc
}
list.clear();
@@ -62,5 +62,5 @@ CodeClassField::~CodeClassField ( ) {
{
getParentDocument()->removeTextBlock(m_declCodeBlock);
- delete m_declCodeBlock;
+ //delete m_declCodeBlock; // no..will be deleted by the owning hcodeblock/codedoc
}
More information about the umbrello-devel
mailing list