androiddeplyqt: fix missing pclose() on early return
Found by Coverity. Amends 5bb178c479a247720fbc3fbb7f06a32b725193ac. Pick-to: 6.6 6.5 6.2 5.15 Coverity-Id: 378357 Change-Id: I8839280ce15d8e7d9e1f4024ca796c2d8b4ed930 Reviewed-by: BogDan Vatra <bogdan@kdab.com> (cherry picked from commit c64b30129d7c6c7f99b6abc3f42d32fb61e27f76) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
5b3143fce6
commit
950123bfbc
@ -2035,6 +2035,7 @@ QStringList getQtLibsFromElf(const Options &options, const QString &fileName)
|
||||
if (it == elfArchitectures.constEnd() || *it != options.currentArchitecture.toLatin1()) {
|
||||
if (options.verbose)
|
||||
fprintf(stdout, "Skipping \"%s\", architecture mismatch\n", qPrintable(fileName));
|
||||
pclose(readElfCommand);
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user