aboutsummaryrefslogtreecommitdiff
path: root/sim/common/dv-pal.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/dv-pal.c')
-rw-r--r--sim/common/dv-pal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/dv-pal.c b/sim/common/dv-pal.c
index afef9c8..f15f5c9 100644
--- a/sim/common/dv-pal.c
+++ b/sim/common/dv-pal.c
@@ -368,7 +368,7 @@ static void
hw_pal_finish (struct hw *hw)
{
/* create the descriptor */
- hw_pal_device *hw_pal = ZALLOC (hw_pal_device);
+ hw_pal_device *hw_pal = HW_ZALLOC (hw, hw_pal_device);
hw_pal->output.status = 1;
hw_pal->output.buffer = '\0';
hw_pal->input.status = 0;