mirror of
https://codeberg.org/scip/diceware.git
synced 2025-12-17 02:40:57 +01:00
check again
This commit is contained in:
@@ -175,11 +175,9 @@ void getwords(char *dictfile, int count) {
|
||||
|
||||
free(tossed);
|
||||
|
||||
for (i = 0; i < 66667; i++) {
|
||||
if (verbose > 0) {
|
||||
fprintf(stdout, "freeing word[%d]\n", i);
|
||||
}
|
||||
for (i = 0; i < 66667; i++)
|
||||
if (words[i] != NULL)
|
||||
free(words[i]);
|
||||
}
|
||||
|
||||
free(words);
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ char **fetch_dict(char *dictfile) {
|
||||
pos = 11111;
|
||||
next = 0;
|
||||
|
||||
for (i = 0; i < 6666; i++)
|
||||
for (i = 0; i < 66667; i++)
|
||||
words[i] = NULL;
|
||||
|
||||
LOOP:
|
||||
|
||||
Reference in New Issue
Block a user