[Akonadi] [Bug 486861] Memory leak in EWS resource

Carl Schwan bugzilla_noreply at kde.org
Wed Jun 26 09:27:45 BST 2024


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

--- Comment #4 from Carl Schwan <carl at 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_louis30 at 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.


More information about the Kdepim-bugs mailing list