aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-hw.c')
-rw-r--r--sim/common/sim-hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-hw.c b/sim/common/sim-hw.c
index 6cb406f..f56e580 100644
--- a/sim/common/sim-hw.c
+++ b/sim/common/sim-hw.c
@@ -320,7 +320,7 @@ static void
sim_hw_uninstall (struct sim_state *sd)
{
hw_tree_delete (STATE_HW (sd)->tree);
- zfree (STATE_HW (sd));
+ free (STATE_HW (sd));
STATE_HW (sd) = NULL;
}