https://bugs.kde.org/show_bug.cgi?id=486861

--- Comment #4 from Carl Schwan <c...@carlschwan.eu> ---
Git commit 6173a24fb1aa4a13978185184b74c96934c2aa50 by Carl Schwan.
Committed on 26/06/2024 at 08:27.
Pushed by carlschwan into branch 'release/24.05'.

Fix a memory leak in TransferJob

TransferJob wasn't releasing its QNetworkReply upon deletion, which
resulted in it and associated resources being leaked. With the many
requests spotted in bug 485799 this leads to heavy resource usage.

| Heaptrack Before | Heaptrack After |
| ------ | ------ |
| ![image](/uploads/3d0957e59804bd9e1a01b62f4717e023/image.png) |
![image](/uploads/45ba2527c0a4a1f34da889e01ca763b9/image.png) |


(cherry picked from commit aacd0807f13d0694b2bde515964b5f081973da5f)

b6fe76cf Fix a memory leak in TransferJob

Co-authored-by: Louis Moureaux <m_loui...@yahoo.com>

M  +6    -5    resources/ews/ewsclient/transferjob.cpp
M  +3    -1    resources/ews/ewsclient/transferjob.h

https://invent.kde.org/pim/kdepim-runtime/-/commit/6173a24fb1aa4a13978185184b74c96934c2aa50

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to