aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Auth/AuthCrypt.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-18 19:01:41 -0600
committermegamage <none@none>2009-01-18 19:01:41 -0600
commit40e7dcb599c1e596151356a4cc4d6f641bc1ec05 (patch)
tree7793b2697c9151f96394f77f1d89375ee092f69a /src/shared/Auth/AuthCrypt.cpp
parentc85c89dc0b0564113e48bfcaf96dc2af55d73bb8 (diff)
*Update to Mangos 7111.
--HG-- branch : trunk
Diffstat (limited to 'src/shared/Auth/AuthCrypt.cpp')
-rw-r--r--src/shared/Auth/AuthCrypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/Auth/AuthCrypt.cpp b/src/shared/Auth/AuthCrypt.cpp
index 199e7192537..68a271e3c42 100644
--- a/src/shared/Auth/AuthCrypt.cpp
+++ b/src/shared/Auth/AuthCrypt.cpp
@@ -66,7 +66,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()