mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
fix memory leak (coverity)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user