From bc32e1373f0758f8b9a0b9a755342b78521b9572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 3 Feb 2022 14:45:48 +0800 Subject: Release ticket history memory --- client.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cxx b/client.cxx index 1f64e80..ee04abf 100644 --- a/client.cxx +++ b/client.cxx @@ -154,7 +154,7 @@ void Client::ticketHistoryList(int id, bool longFormat) [](struct rtclient_ticket_history** list) { client->emitGotTicketHistoryList(TicketHistoryList{list}); size_t i = 0; -// while (list[i]) rtclient_ticket_history_free(list[i++]); + while (list[i]) rtclient_ticket_history_free(list[i++]); }); } -- cgit v1.2.3