diff options
Diffstat (limited to 'word.c')
-rw-r--r-- | word.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,8 @@ struct word_t *word_get(char *name) { void word_free() { struct word_t *word; for(int i = 0; i < WORDS_MAX; i++) { + if(words[i].name) + free(words[i].name); word = words[i].next; while(word) { struct word_t *temp = word->next; |