From 40e7dcb599c1e596151356a4cc4d6f641bc1ec05 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 18 Jan 2009 19:01:41 -0600 Subject: *Update to Mangos 7111. --HG-- branch : trunk --- src/shared/Auth/AuthCrypt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/Auth/AuthCrypt.cpp') 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() -- cgit v1.2.3