]> git.wh0rd.org Git - nano.git/commitdiff
add missing free()
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 14 Jan 2005 22:08:18 +0000 (22:08 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 14 Jan 2005 22:08:18 +0000 (22:08 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2272 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index 0031f1a226de968df47e9db229a3d2ed5ac46180..6c8ad362f17c8c610b44ecc3b162df35a9cdb4d0 100644 (file)
@@ -1362,6 +1362,8 @@ void do_next_word(void)
        current_x = 0;
     }
 
+    free(char_mb);
+
     if (current == NULL)
        current = filebot;