Unverified Commit c5b8d4e0 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #6066 from DonLakeFlyer/FixLeaks

Fix leaking QNetworkReply
parents 05edccd3 a8b9a63b
......@@ -95,7 +95,8 @@ void QGCFileDownload::_downloadFinished(void)
// When an error occurs or the user cancels the download, we still end up here. So bail out in
// those cases.
if (reply->error() != QNetworkReply::NoError) {
if (reply->error() != QNetworkReply::NoError) {
......@@ -128,6 +129,8 @@ void QGCFileDownload::_downloadFinished(void)
qWarning() << errorMsg;
emit error(errorMsg);
/// @brief Called when an error occurs during download
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment