fix memory leak

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2688 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-06-16 01:36:10 +00:00
parent 34c75746c2
commit 4846ce7a6a
1 changed files with 2 additions and 0 deletions

View File

@ -1401,6 +1401,8 @@ void do_tab(void)
output[output_len] = '\0'; output[output_len] = '\0';
do_output(output, output_len, TRUE); do_output(output, output_len, TRUE);
free(output);
} else { } else {
#endif #endif
do_output("\t", 1, TRUE); do_output("\t", 1, TRUE);