Commit a7b35bc0 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix possible memory leak

parent 851bd475
......@@ -189,7 +189,7 @@ void ToolBarStateMessages::mouseReleaseEmpty()
else if (!m_firstObject && msgType == Uml::SequenceMessage::Found && xclick == 0 && yclick == 0) {
xclick = m_pMouseEvent->scenePos().x();
yclick = m_pMouseEvent->scenePos().y();
cleanMessage();
m_messageLine = new QGraphicsLineItem();
m_pUMLScene->addItem(m_messageLine);
qreal x = m_pMouseEvent->scenePos().x();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment