aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r--sim/common/hw-base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c
index 03aad9b..3adef18 100644
--- a/sim/common/hw-base.c
+++ b/sim/common/hw-base.c
@@ -418,6 +418,7 @@ hw_create (struct sim_state *sd,
/* Attach dummy ports */
create_hw_alloc_data (hw);
+ create_hw_property_data (hw);
create_hw_port_data (hw);
create_hw_event_data (hw);
@@ -473,6 +474,7 @@ hw_delete (struct hw *me)
delete_hw_event_data (me);
delete_hw_port_data (me);
+ delete_hw_property_data (me);
/* now unlink us from the tree */
if (hw_parent (me))