Skip to content
Snippets Groups Projects
Commit 49aaa21f authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'Dangling pointer issue on document close'.

Guard access to UMLObject::m_pSecondary with QPointer.
Also use dynamic_cast instead of static_cast for access
to m_pSecondary to make sure the cast returns zero on
invalid types. Using static_casts may result into
invalid casted objects.

BUG:345388
FIXED-IN:2.15.97 (KDE 15.03.97)
parent 4a9d9bc3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment