[dolphin] [Bug 505215] dolphin file descriptor leak when showing /tmp
Akseli Lahtinen
bugzilla_noreply at kde.org
Mon Jun 9 15:08:44 BST 2025
https://bugs.kde.org/show_bug.cgi?id=505215
Akseli Lahtinen <akselmo at akselmo.dev> 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 <akselmo at akselmo.dev> ---
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.
More information about the kfm-devel
mailing list