1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 18:59:09 +00:00

Fix some invalid heap ops found by Dr Memory

This commit is contained in:
2014-01-07 22:54:21 -05:00
parent a5758f91c6
commit 8cedb69e9e
4 changed files with 5 additions and 5 deletions

View File

@ -896,7 +896,7 @@ static void LoadUserPass (LoginDialogParam *pLoginParam)
if (temp)
{
StrCopy(pLoginParam->username, temp, kMaxAccountNameLength);
delete temp;
delete[] temp;
}
pLoginParam->remember = stream->ReadBool();