From fbc29b6a0626f2ce8521dc74e3171b634d68e9e5 Mon Sep 17 00:00:00 2001 From: Petr Mrázek <peterix@gmail.com> Date: Sun, 30 Mar 2014 20:11:05 +0200 Subject: Fix many memory leaks. --- logic/net/NetJob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/net/NetJob.h') diff --git a/logic/net/NetJob.h b/logic/net/NetJob.h index 03d6a36e..2df8428b 100644 --- a/logic/net/NetJob.h +++ b/logic/net/NetJob.h @@ -32,7 +32,7 @@ class NetJob : public ProgressProvider Q_OBJECT public: explicit NetJob(QString job_name) : ProgressProvider(), m_job_name(job_name) {}; - + virtual ~NetJob() {}; template <typename T> bool addNetAction(T action) { NetActionPtr base = std::static_pointer_cast<NetAction>(action); -- cgit