[Uml-devel] [Bug 112092] Crash on application exit
Oliver Kellogg
okellogg at users.sourceforge.net
Wed May 10 13:21:00 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=112092
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2006-05-10 22:19 -------
SVN commit 539517 by okellogg:
addDefaultStereotypes(): Guard against derefencing NULL pointer.
BUG:112092
M +2 -0 ChangeLog
M +3 -1 umbrello/umldoc.cpp
--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #539516:539517
@ -8,8 +8,10 @
* Save autosave file to a more obvious place (72019)
* Usability and responsiveness improvements to code import (93296)
* Auto-complete in parameter properties dialog in class diagram (104477)
+* Crash on application exit (112092)
* Memory problem when importing classes from c++ sources (122668)
* Nestable components and subsystems in Component diagram (124326)
+* Crash loading xmi file (125331, 126968)
* User interaction with UMLWidget improvements (126391)
* Comments are cut short when generating PHP code (126480)
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umldoc.cpp #539516:539517
@ -2566,7 +2566,9 @
}
void UMLDoc::addDefaultStereotypes() {
- UMLApp::app()->getGenerator()->createDefaultStereotypes();
+ CodeGenerator *gen = UMLApp::app()->getGenerator();
+ if (gen)
+ gen->createDefaultStereotypes();
}
const UMLStereotypeList& UMLDoc::getStereotypes() {
More information about the umbrello-devel
mailing list