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:
@ -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())
|
||||
|
Reference in New Issue
Block a user