This commit is contained in:
Martin Rotter 2024-09-23 13:14:27 +02:00
parent e3bcd770a9
commit 8d447e2ff8
1 changed files with 4 additions and 2 deletions

View File

@ -244,8 +244,10 @@ void Downloader::finished() {
// original_url = m_activeReply->property("original_url").toUrl();
m_activeReply->deleteLater();
m_activeReply = nullptr;
if (m_activeReply != nullptr) {
m_activeReply->deleteLater();
m_activeReply = nullptr;
}
if (m_inputMultipartData != nullptr) {
m_inputMultipartData->deleteLater();