summaryrefslogtreecommitdiff
path: root/src/sim/sim_object.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-10-01 08:05:54 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-10-01 08:05:54 -0400
commit6498ccddb2f13a6fac6a210372b1aa86873507b9 (patch)
treed8fa5ac5e99c01df46d71c3c87e87d2114bfe088 /src/sim/sim_object.cc
parentb520223699f51562140b8cc4a922eae64dffb3e3 (diff)
downloadgem5-6498ccddb2f13a6fac6a210372b1aa86873507b9.tar.xz
misc: Fix issues identified by static analysis
Another bunch of issues addressed.
Diffstat (limited to 'src/sim/sim_object.cc')
-rw-r--r--src/sim/sim_object.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc
index 44d498c3c..a7be4ebd2 100644
--- a/src/sim/sim_object.cc
+++ b/src/sim/sim_object.cc
@@ -70,6 +70,11 @@ SimObject::SimObject(const Params *p)
probeManager = new ProbeManager(this);
}
+SimObject::~SimObject()
+{
+ delete probeManager;
+}
+
void
SimObject::init()
{