summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJames Legg <jlegg@feralinteractive.com>2015-06-05 21:33:08 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-06-05 21:35:05 +0100
commit453eff9d92494c0d2dded44c6a5e7707c527f684 (patch)
tree67866195e7aba62bdb886b79062f02da13cde465 /gui
parent5c487ecd9afbcea1d507b9e4dfd09b3a8787fa65 (diff)
gui: Fix leak when saving traces.
Fixes #345.
Diffstat (limited to 'gui')
-rw-r--r--gui/saverthread.cpp1
1 files changed, 1 insertions, 0 deletions
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();