mirror of
https://codeberg.org/scip/diceware.git
synced 2025-12-17 19:00:57 +01:00
fix free len
This commit is contained in:
@@ -175,7 +175,7 @@ void getwords(char *dictfile, int count) {
|
||||
|
||||
free(tossed);
|
||||
|
||||
for (i = 0; i < 66666; i++)
|
||||
for (i = 0; i < 66667; i++)
|
||||
if (words[i] != NULL)
|
||||
free(words[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user