mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[7103] replaced wrong delete by delete[]
This commit is contained in:
parent
1d80a7a788
commit
383239b595
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ void AuthCrypt::SetKey(BigNumber *bn)
|
|||
GenerateKey(key, bn);
|
||||
_key.resize(SHA_DIGEST_LENGTH);
|
||||
std::copy(key, key + SHA_DIGEST_LENGTH, _key.begin());
|
||||
delete key;
|
||||
delete[] key;
|
||||
}
|
||||
|
||||
AuthCrypt::~AuthCrypt()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue