summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/access/qhttpthreaddelegate.cpp3
1 files changed, 3 insertions, 0 deletions
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;