summaryrefslogtreecommitdiff
path: root/src/sim/sim_object.cc
diff options
context:
space:
mode:
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()
{