From 453eff9d92494c0d2dded44c6a5e7707c527f684 Mon Sep 17 00:00:00 2001 From: James Legg Date: Fri, 5 Jun 2015 21:33:08 +0100 Subject: gui: Fix leak when saving traces. Fixes #345. --- gui/saverthread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/saverthread.cpp b/gui/saverthread.cpp index 990aeeec..e9e5a3fa 100644 --- a/gui/saverthread.cpp +++ b/gui/saverthread.cpp @@ -374,6 +374,7 @@ void SaverThread::run() } else { writer.writeCall(call); } + delete call; } writer.close(); -- cgit v1.2.3