plug a memory leak

This commit is contained in:
Holger Vogt 2020-08-12 16:30:06 +02:00
parent 5e7af5647b
commit b4aeab7c2b
1 changed files with 1 additions and 0 deletions

View File

@ -730,6 +730,7 @@ static void wl_modify_word(wordlist *wl_node, unsigned int n_input,
p_dst += n_char_word_cur; p_dst += n_char_word_cur;
} }
*p_dst = '\0'; *p_dst = '\0';
tfree(pp_word[0]);
} }
} }