mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-01 01:16:03 -04:00
recommit the innocuous fixes from cppcheck - the va_end calls were deleting pointers and breaking things further down the line
This commit is contained in:
Vendored
+3
-3
@@ -151,10 +151,10 @@ CSAssistGameAPIcore::CSAssistGameAPIcore(CSAssistGameAPI *api, const char *serve
|
||||
m_serverList.push_back(sid);
|
||||
}
|
||||
//fprintf(stderr, "res=%d, p=%s, host=%s, port=%d, size=%d\n", res, p, host, port, m_serverList.size());
|
||||
delete p;
|
||||
delete [] p;
|
||||
}
|
||||
delete host;
|
||||
delete buf;
|
||||
delete [] host;
|
||||
delete [] buf;
|
||||
m_curServer = m_serverList.begin();
|
||||
GetLBHost();
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user