diff options
author | Michele Calgaro <[email protected]> | 2021-08-09 11:13:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-08-09 11:13:43 +0900 |
commit | a2edae37ace5b2b9172721a8ca9f63b9b441aacf (patch) | |
tree | 0df6558e6aac90368f4c4fba792b8ebd4a04ed62 /tdecore | |
parent | 4a8875301d14703b8760e0f3e4246331069cf7bb (diff) | |
download | tdelibs-a2edae37ace5b2b9172721a8ca9f63b9b441aacf.tar.gz tdelibs-a2edae37ace5b2b9172721a8ca9f63b9b441aacf.zip |
tdehw lib: make the call to close the file explicit.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/tdehw/tdestoragedevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.cpp b/tdecore/tdehw/tdestoragedevice.cpp index e3f81fce7..a9b9ab206 100644 --- a/tdecore/tdehw/tdestoragedevice.cpp +++ b/tdecore/tdehw/tdestoragedevice.cpp @@ -719,6 +719,7 @@ TQString TDEStorageDevice::mountPath() { if ((testNode == deviceNode()) || (testNode == mappedName()) || (testNode == ("/dev/disk/by-uuid/" + diskUUID()))) { TQString ret = *mountInfo.at(1); ret.replace("\\040", " "); + file.close(); return ret; } lines += line; |