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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/144/head
Michele Calgaro 3 years ago
parent 4a8875301d
commit a2edae37ac
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;

Loading…
Cancel
Save