Commit 8040bb26 authored by Kurt Hindenburg's avatar Kurt Hindenburg

fix memory leak (coverity)

parent 9c19368c
......@@ -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;
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