diff --git a/kinit/klauncher_adaptor.cpp b/kinit/klauncher_adaptor.cpp index fb778189..2c4def77 100644 --- a/kinit/klauncher_adaptor.cpp +++ b/kinit/klauncher_adaptor.cpp @@ -368,6 +368,7 @@ void KLauncherAdaptor::slotProcessFinished(int exitcode) KLauncherProcess* process = qobject_cast(sender()); kDebug() << "process finished" << process << exitcode; m_processes.removeAll(process); + process->deleteLater(); } QString KLauncherAdaptor::findExe(const QString &app) const