From 31055b3ba8f95356f53082489e9cd25d5e932f8d Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 14 Jan 2005 22:08:18 +0000 Subject: [PATCH] add missing free() git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2272 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5