fix memory leak
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2688 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
34c75746c2
commit
4846ce7a6a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue