aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-handles.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/hw-handles.c')
-rw-r--r--sim/common/hw-handles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/hw-handles.c b/sim/common/hw-handles.c
index a9dc925..69d166d 100644
--- a/sim/common/hw-handles.c
+++ b/sim/common/hw-handles.c
@@ -206,7 +206,7 @@ hw_handle_remove_ihandle (struct hw *hw,
{
struct hw_handle_mapping *delete = *current_map;
*current_map = delete->next;
- zfree (delete);
+ free (delete);
return;
}
current_map = &(*current_map)->next;
@@ -227,7 +227,7 @@ hw_handle_remove_phandle (struct hw *hw,
{
struct hw_handle_mapping *delete = *current_map;
*current_map = delete->next;
- zfree (delete);
+ free (delete);
return;
}
current_map = &(*current_map)->next;