Skip to content

Commit

Permalink
fix #1495
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrotter committed Sep 23, 2024
1 parent e3bcd77 commit 8d447e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/librssguard/network-web/downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8d447e2

Please sign in to comment.