diff options
Diffstat (limited to 'sim/common/hw-instances.c')
-rw-r--r-- | sim/common/hw-instances.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/common/hw-instances.c b/sim/common/hw-instances.c index 143ecdf..5d0932b 100644 --- a/sim/common/hw-instances.c +++ b/sim/common/hw-instances.c @@ -88,9 +88,9 @@ hw_instance_delete (struct hw_instance *instance) hw_abort (me, "no delete method"); instance->method->delete(instance); if (instance->args != NULL) - zfree (instance->args); + free (instance->args); if (instance->path != NULL) - zfree (instance->path); + free (instance->path); if (instance->child == NULL) { /* only remove leaf nodes */ @@ -116,7 +116,7 @@ hw_instance_delete (struct hw_instance *instance) instance->child->parent = NULL; } cap_remove (me->ihandles, instance); - zfree (instance); + free (instance); #endif } |