From: David Lawrence Ramsey Date: Fri, 14 Jan 2005 22:08:18 +0000 (+0000) Subject: add missing free() X-Git-Tag: v1.3.6~130 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=31055b3ba8f95356f53082489e9cd25d5e932f8d;p=nano.git add missing free() git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2272 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 0031f1a2..6c8ad362 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1362,6 +1362,8 @@ void do_next_word(void) current_x = 0; } + free(char_mb); + if (current == NULL) current = filebot;