From 43bf597611b68fb37d200086a66f88ef69ac618c Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Thu, 20 Apr 2023 17:40:13 +0200 Subject: [PATCH] QmlDesigner: Fix leak in FileDownloader Fix QNetworkReply in FileDownloader not being deleted. Change-Id: I037a00b4351029e28b887ecbd4205b743284a6f7 Reviewed-by: Fabian Kosmale --- src/plugins/qmldesigner/utils/filedownloader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/qmldesigner/utils/filedownloader.cpp b/src/plugins/qmldesigner/utils/filedownloader.cpp index 20ba2b3eec9..7825be5081b 100644 --- a/src/plugins/qmldesigner/utils/filedownloader.cpp +++ b/src/plugins/qmldesigner/utils/filedownloader.cpp @@ -253,6 +253,8 @@ void FileDownloader::doProbeUrl() m_available = true; emit availableChanged(); + + reply->deleteLater(); }); QNetworkReply::connect(reply,