diff --git a/src/network/access/qhttpthreaddelegate.cpp b/src/network/access/qhttpthreaddelegate.cpp index 1ed9f5d3bd..0a2d59551c 100644 --- a/src/network/access/qhttpthreaddelegate.cpp +++ b/src/network/access/qhttpthreaddelegate.cpp @@ -374,6 +374,9 @@ void QHttpThreadDelegate::readBufferFreed(qint64 size) void QHttpThreadDelegate::readyReadSlot() { + if (!httpReply) + return; + // Don't do in zerocopy case if (!downloadBuffer.isNull()) return;