diff options
author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2022-03-07 11:21:49 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-16 09:19:19 +0000 |
commit | 2da95e47de557c519cf1c91a3b19a9ac087d6b88 (patch) | |
tree | be15c7105b9e5e5f76955526717c34cc97d5c4e2 | |
parent | 08e04f92dbc0af3e05ee5117f1507d30781f4427 (diff) |
QHostInfo/Unix: Fix resolv never unloading
Due to some unfortunate shadowing
Change-Id: Ib2660516f9ba9974c84a043bd2677b7890fc76f9
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit 567c31e8ee92a8071c731aac6fc6729d16d7439b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/network/kernel/qhostinfo_unix.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/kernel/qhostinfo_unix.cpp b/src/network/kernel/qhostinfo_unix.cpp index 3ccf8b217b..eb1048a42a 100644 --- a/src/network/kernel/qhostinfo_unix.cpp +++ b/src/network/kernel/qhostinfo_unix.cpp @@ -124,7 +124,6 @@ static QFunctionPointer resolveSymbol(QLibrary &lib, const char *sym) LibResolv::LibResolv() { - QLibrary lib; #ifdef LIBRESOLV_SO lib.setFileName(QStringLiteral(LIBRESOLV_SO)); if (!lib.load()) |