[kwin] [Bug 462277] When a window is closed, kwin does not free the memory for its icon

2023-03-17 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=462277

David Edmundson  changed:

   What|Removed |Added

 Status|CONFIRMED   |REPORTED
 Ever confirmed|1   |0

--- Comment #6 from David Edmundson  ---
Edit, it's cleaned up in `refdec_nwi`

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 462277] When a window is closed, kwin does not free the memory for its icon

2023-03-17 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=462277

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #5 from David Edmundson  ---
I can't see who deletes:

```
icons[i].data = new unsigned char[size];
```

The array is cleaned up, but our array contains malloc'ed data.
It's cleaned up if we readIcons multiple times, but not in the NetWinInfo
destructor

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 462277] When a window is closed, kwin does not free the memory for its icon

2023-01-08 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=462277

--- Comment #4 from Fushan Wen  ---
I find memory is not released when there is still plenty of free memory, so
ksysguard may not report the accurate used memory.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 462277] When a window is closed, kwin does not free the memory for its icon

2023-01-08 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=462277

--- Comment #3 from Kishore Gopalakrishnan  ---
(In reply to Fushan Wen from comment #2)
> Cannot reproduce

I can still reproduce this on 

Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Kernel Version: 5.15.86-1-lts (64-bit)
Graphics Platform: X11
mesa 22.3.2-3

I also noticed that the memory usage shown in ksysguard (for the kwin_x11
process) is much lower than that reported by heaptrack. Does this mean the
leaks found by heaptrack are false positives?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 462277] When a window is closed, kwin does not free the memory for its icon

2022-12-01 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=462277

--- Comment #2 from Fushan Wen  ---
Cannot reproduce

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 462277] When a window is closed, kwin does not free the memory for its icon

2022-11-30 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=462277

Nate Graham  changed:

   What|Removed |Added

   Keywords||efficiency
 CC||n...@kde.org,
   ||qydwhotm...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 462277] When a window is closed, kwin does not free the memory for its icon

2022-11-26 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=462277

Kishore Gopalakrishnan  changed:

   What|Removed |Added

Version|5.25.3  |5.26.3

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 462277] When a window is closed, kwin does not free the memory for its icon

2022-11-26 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=462277

--- Comment #1 from Bug Janitor Service  ---

Thank you for the bug report!

Please note that Plasma 5.25.3 is not supported for much longer by KDE;
supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the
bug is still happening there.

If you're unsure how to do this, contact your distributor about it.

-- 
You are receiving this mail because:
You are watching all bug changes.