tdehw lib: make the call to close the file explicit.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a2edae37ac)
r14.0.x
Michele Calgaro 3 years ago
parent 2a6ec4a287
commit 86a973eba2
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -754,6 +754,7 @@ TQString TDEStorageDevice::mountPath() {
if ((testNode == deviceNode()) || (testNode == dmaltname) || (testNode == ("/dev/disk/by-uuid/" + diskUUID()))) {
TQString ret = *mountInfo.at(1);
ret.replace("\\040", " ");
file.close();
return ret;
}
lines += line;

Loading…
Cancel
Save