add missing free()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2272 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-01-14 22:08:18 +00:00
parent 7801d7bed9
commit 31055b3ba8
1 changed files with 2 additions and 0 deletions

View File

@ -1362,6 +1362,8 @@ void do_next_word(void)
current_x = 0;
}
free(char_mb);
if (current == NULL)
current = filebot;