summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/access/qnetworkreplyimpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkreplyimpl.cpp b/src/network/access/qnetworkreplyimpl.cpp
index 83afddd..c20812e 100644
--- a/src/network/access/qnetworkreplyimpl.cpp
+++ b/src/network/access/qnetworkreplyimpl.cpp
@@ -573,6 +573,8 @@ QNetworkReplyImpl::~QNetworkReplyImpl()
Q_D(QNetworkReplyImpl);
if (d->isCachingEnabled())
d->networkCache()->remove(url());
+ if (d->outgoingDataBuffer)
+ delete d->outgoingDataBuffer;
}
void QNetworkReplyImpl::abort()