summaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/sim-hw.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 65e711493b9..7add3c4d1cf 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2011-01-12 Mike Frysinger <vapier@gentoo.org>
+ * sim-hw.c (sim_hw_uninstall): Uncomment hw_tree_delete.
+
+2011-01-12 Mike Frysinger <vapier@gentoo.org>
+
* sim-module.c (sim_pre_argv_init): Return SIM_RC_FAIL when asprintf
fails.
* sim-options.c (sim_parse_args): Issue an error and return SIM_RC_FAIL
diff --git a/sim/common/sim-hw.c b/sim/common/sim-hw.c
index 69c2b1764c8..6cb406f24d6 100644
--- a/sim/common/sim-hw.c
+++ b/sim/common/sim-hw.c
@@ -319,7 +319,7 @@ sim_hw_init (struct sim_state *sd)
static void
sim_hw_uninstall (struct sim_state *sd)
{
- /* hw_tree_delete (STATE_HW (sd)->tree); */
+ hw_tree_delete (STATE_HW (sd)->tree);
zfree (STATE_HW (sd));
STATE_HW (sd) = NULL;
}