diff --git a/src/lib/src/network/network-reply.cpp b/src/lib/src/network/network-reply.cpp index 0948da013..d91ba3e91 100644 --- a/src/lib/src/network/network-reply.cpp +++ b/src/lib/src/network/network-reply.cpp @@ -19,8 +19,10 @@ NetworkReply::~NetworkReply() { abort(); - m_reply->deleteLater(); - m_reply = nullptr; + if (m_reply != nullptr) { + m_reply->deleteLater(); + m_reply = nullptr; + } }