diff options
-rw-r--r-- | dict-generate.cpp | 2 | ||||
-rw-r--r-- | zxcvbn.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dict-generate.cpp b/dict-generate.cpp index 410182d..8dd48d4 100644 --- a/dict-generate.cpp +++ b/dict-generate.cpp @@ -1046,7 +1046,7 @@ static int OutputBinary(ostream *Out, const string & ChkFile, const string & Cha Out->write((char *)WordEnds, NumWordEnd); h(WordEnds, NumWordEnd); OutputSize += NumWordEnd; - delete WordEnds; + delete [] WordEnds; StringIntSet_t::iterator Its; string Str; @@ -493,7 +493,7 @@ typedef struct uint8_t LeetCnv[sizeof L33TCnv / LEET_NORM_MAP_SIZE + 1]; /* uint8_t LeetChr[3]; */ uint8_t First; - uint8_t PossChars[48]; + uint8_t PossChars[49]; } DictWork_t; /********************************************************************************** |