fix: release resources when properly

This commit is contained in:
Kevin Yue
2022-06-06 18:05:08 +08:00
parent 3067e6e911
commit 7bc02a4208
3 changed files with 14 additions and 5 deletions

View File

@@ -307,7 +307,7 @@ void GPClient::onPortalSuccess(const PortalConfigResponse portalConfig, const QS
{
PLOGI << "Portal authentication succeeded.";
// No gateway found in protal configuration
// No gateway found in portal configuration
if (portalConfig.allGateways().size() == 0) {
PLOGI << "No gateway found in portal configuration, treat the portal address as a gateway.";
tryGatewayLogin();