From ea14f66d4b32e5ab19fd94b447bfd04c873d769c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 2 Oct 2019 18:58:38 +0800 Subject: The ticket history list gets freed after use --- controller.cxx | 1 + qrtclient | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/controller.cxx b/controller.cxx index d096d8e..133f2d8 100644 --- a/controller.cxx +++ b/controller.cxx @@ -89,6 +89,7 @@ Controller::Controller(QObject* parent) , Q_ARG(QVariant , QString{asctime(history ->created)})); + rtclient_ticket_history_list_free(list); }); connect(appWindow, SIGNAL(ticketNew(QString, QString)) diff --git a/qrtclient b/qrtclient index 15a4a91..003695d 160000 --- a/qrtclient +++ b/qrtclient @@ -1 +1 @@ -Subproject commit 15a4a9135b6fae55ad8a849440422412eeac47c4 +Subproject commit 003695d6b876aa876b21d8f8264ccefda8c53236 -- cgit v1.2.3