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:
@ -896,7 +896,7 @@ static void LoadUserPass (LoginDialogParam *pLoginParam)
|
||||
if (temp)
|
||||
{
|
||||
StrCopy(pLoginParam->username, temp, kMaxAccountNameLength);
|
||||
delete temp;
|
||||
delete[] temp;
|
||||
}
|
||||
|
||||
pLoginParam->remember = stream->ReadBool();
|
||||
|
Reference in New Issue
Block a user