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 a0878e47 authored by Laurent Montel's avatar Laurent Montel 😁

Fix mem leak found by new Gammaray feature

parent 785c9501
......@@ -70,6 +70,7 @@ void LanguageToolGetListOfLanguageJob::slotCheckListOfLanguagesFinished()
const QByteArray data = reply->readAll();
Q_EMIT finished(QString::fromUtf8(data));
}
reply->deleteLater();
deleteLater();
}
......
......@@ -79,6 +79,7 @@ void LanguageToolResultJob::slotCheckGrammarFinished()
const QByteArray data = reply->readAll();
Q_EMIT finished(QString::fromUtf8(data));
}
reply->deleteLater();
deleteLater();
}
......
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