win->input_request_type = INPUT_REQUEST_NONE;
win->line_input_buffer = NULL;
win->line_input_buffer_unicode = NULL;
+ win->history = NULL;
/* Initialise the buffer */
win->buffer = g_string_sized_new(1024);
g_node_destroy(win->window_node);
win->magic = MAGIC_FREE;
+ g_list_foreach(win->history, g_free, NULL);
+ g_list_free(win->history);
+
g_string_free(win->buffer, TRUE);
g_free(win);
}