syncqt: Add the missing file stream close calls

Call close explicitly to avoid any issues related to non-closed file
descriptors.

Pick-to: 6.5 6.6
Change-Id: I02df30032dc04afd5d135d707eff4a6efe6a3ea5
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
bb10
Alexey Edelev 2023-09-05 12:09:47 +02:00
parent 7164cce881
commit e9ca247479
1 changed files with 2 additions and 0 deletions

View File

@ -445,6 +445,7 @@ private:
if (!parseArgument(argFromFile))
return false;
}
ifs.close();
continue;
}
@ -1375,6 +1376,7 @@ public:
}
}
}
input.close();
// Error out if namespace checks are failed.
if (!(skipChecks & NamespaceChecks)) {