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:
Thiago Macieira 2014-12-24 17:17:13 -02:00
parent 85af7f4538
commit 8190291fb0

View File

@ -116,6 +116,7 @@ public:
return false;
}
}
::close(s);
#endif
return true;
}