diff --git a/src/fe-text/lastlog.c b/src/fe-text/lastlog.c index 5157a0dd..8791405f 100644 --- a/src/fe-text/lastlog.c +++ b/src/fe-text/lastlog.c @@ -153,6 +153,7 @@ static void show_lastlog(const char *searchtext, GHashTable *optlist, if (g_hash_table_lookup(optlist, "count") != NULL) { printformat_window(active_win, MSGLEVEL_CLIENTNOTICE, TXT_LASTLOG_COUNT, len); + textbuffer_line_unref_list(WINDOW_GUI(window)->view->buffer, list); g_list_free(list); return; } @@ -162,6 +163,7 @@ static void show_lastlog(const char *searchtext, GHashTable *optlist, printformat_window(active_win, MSGLEVEL_CLIENTNOTICE|MSGLEVEL_LASTLOG, TXT_LASTLOG_TOO_LONG, len); + textbuffer_line_unref_list(WINDOW_GUI(window)->view->buffer, list); g_list_free(list); return; }