Autotest: don't leak a socket every call to QtNetworkSettings::hasIPv6
Change-Id: I87e31945052233cee17460ee6f59c02ec416b27b Reviewed-by: Richard J. Moore <rich@kde.org>
This commit is contained in:
parent
85af7f4538
commit
8190291fb0
@ -116,6 +116,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
::close(s);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user