Free all buffers when exiting from WeeChat

This commit is contained in:
Sebastien Helleu 2004-07-10 15:39:39 +00:00
parent 4c660ad565
commit b9e5c94032
2 changed files with 12 additions and 2 deletions

View File

@ -1655,7 +1655,12 @@ gui_end ()
delwin (ptr_win->win_infobar);
if (ptr_win->win_input)
delwin (ptr_win->win_input);
/* TODO: free input buffer, lines, messages, completion */
}
/* delete all buffers */
while (gui_buffers)
{
gui_buffer_free (gui_buffers, 0);
}
/* end of curses output */

View File

@ -1655,7 +1655,12 @@ gui_end ()
delwin (ptr_win->win_infobar);
if (ptr_win->win_input)
delwin (ptr_win->win_input);
/* TODO: free input buffer, lines, messages, completion */
}
/* delete all buffers */
while (gui_buffers)
{
gui_buffer_free (gui_buffers, 0);
}
/* end of curses output */