summaryrefslogtreecommitdiffstats
path: root/src/network/kernel
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2022-03-07 11:21:49 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2022-03-09 14:31:17 +0100
commit567c31e8ee92a8071c731aac6fc6729d16d7439b (patch)
treee94e6dad656c24b4af20825781342a76bad04601 /src/network/kernel
parentf5f6487e80e286df7002ea982f0526f3e7e39aff (diff)
QHostInfo/Unix: Fix resolv never unloading
Due to some unfortunate shadowing Pick-to: 6.3 6.2 5.15 Change-Id: Ib2660516f9ba9974c84a043bd2677b7890fc76f9 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/kernel')
-rw-r--r--src/network/kernel/qhostinfo_unix.cpp1
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())