[dolphin] [Bug 505215] dolphin file descriptor leak when showing /tmp
"Akseli Lahtinen" <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kfm |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=505215 Akseli Lahtinen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/syst | |em/dolphin/-/commit/04e493d | |78cdf46e64562fe8a302426b1fd | |8c47df Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #3 from Akseli Lahtinen <[email protected]> --- Git commit 04e493d78cdf46e64562fe8a302426b1fd8c47df by Akseli Lahtinen. Committed on 09/06/2025 at 12:55. Pushed by akselmo into branch 'master'. viewproperties: Fix leaking file descriptors File descriptors would keep leaking here since tempFile never gets deleted. This would be especially noticeable when browsing /tmp/ folder. This patch makes the QTemporaryFile an unique_ptr, so it gets deleted when it's out of scope. This also causes the files to be handled accordingly. M +6 -19 src/views/viewproperties.cpp https://invent.kde.org/system/dolphin/-/commit/04e493d78cdf46e64562fe8a302426b1fd8c47df -- You are receiving this mail because: You are on the CC list for the bug.