Commit 4c75a64f authored by xiaoye's avatar xiaoye

fix

parent 937e14f4
...@@ -334,7 +334,6 @@ void DataManager::InsertServerList() { ...@@ -334,7 +334,6 @@ void DataManager::InsertServerList() {
it->second = ip; it->second = ip;
else else
_serverStrings.emplace_back(name, ip); _serverStrings.emplace_back(name, ip);
delete[] buffer;
} }
iniName == L""; iniName == L"";
iniHost == L""; iniHost == L"";
......
...@@ -1316,7 +1316,7 @@ void Game::LoadExpansions(const wchar_t* expansions_path) { ...@@ -1316,7 +1316,7 @@ void Game::LoadExpansions(const wchar_t* expansions_path) {
} }
continue; continue;
} }
if (IsExtension(name, L".ini")) { if (IsExtension(fname, L".ini")) {
dataManager.LoadINI(createReader()); dataManager.LoadINI(createReader());
server_list_changed = true; server_list_changed = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment