2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Plug some simple leaks detected during startup

This commit is contained in:
2013-01-04 00:00:14 -08:00
parent 2c9a9bb1a8
commit abbbfc12d7
7 changed files with 25 additions and 13 deletions

View File

@ -1053,6 +1053,8 @@ struct ScoreGetScoresTrans : NetAuthTrans {
void * param
);
~ScoreGetScoresTrans();
bool Send ();
void Post ();
bool Recv (
@ -4649,6 +4651,11 @@ ScoreGetScoresTrans::ScoreGetScoresTrans (
StrCopy(m_gameName, gameName, arrsize(m_gameName));
}
//============================================================================
ScoreGetScoresTrans::~ScoreGetScoresTrans () {
delete[] m_scores;
}
//============================================================================
bool ScoreGetScoresTrans::Send () {
if (!AcquireConn())