mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Rely on Qt ownership to free resources
The m_reply has already changed parent in DownloadHandlerImpl::assignNetworkReply() and thus we can rely on Qt ownership to delete the object.
This commit is contained in:
committed by
sledgehammer999
parent
1c1cac2cba
commit
aff4065e42
@@ -43,7 +43,6 @@ class DownloadHandlerImpl : public Net::DownloadHandler
|
||||
|
||||
public:
|
||||
DownloadHandlerImpl(Net::DownloadManager *manager, const Net::DownloadRequest &downloadRequest);
|
||||
~DownloadHandlerImpl() override;
|
||||
|
||||
void cancel() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user