diff --git a/src/KeyBindingEditor.cpp b/src/KeyBindingEditor.cpp index 32e4c87c6..db885556c 100644 --- a/src/KeyBindingEditor.cpp +++ b/src/KeyBindingEditor.cpp @@ -306,6 +306,7 @@ void KeyBindingEditor::accept() if (newTranslator->description().isEmpty()) { KMessageBox::sorry(this, i18n("A key bindings scheme cannot be saved with an empty description.")); + delete newTranslator; return; }