From ea14f66d4b32e5ab19fd94b447bfd04c873d769c Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ 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.3