Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2cb3559c authored by Ralf Habacker's avatar Ralf Habacker

Fix memory leak in UMLApp::executeCommand() not deleting undo command with disabled undo stack.

CCBUG:347498
parent 81ec2640
......@@ -3299,6 +3299,7 @@ void UMLApp::executeCommand(QUndoCommand* cmd)
UMLApp::app()->enableUndoAction(true);
} else {
cmd->redo();
delete cmd;
}
m_doc->setModified(true);
......
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