summaryrefslogtreecommitdiff
path: root/sim/ppc/hw_htab.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/hw_htab.c')
-rw-r--r--sim/ppc/hw_htab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/hw_htab.c b/sim/ppc/hw_htab.c
index 3ad539d5e34..5234f0f2c63 100644
--- a/sim/ppc/hw_htab.c
+++ b/sim/ppc/hw_htab.c
@@ -486,7 +486,7 @@ htab_dma_binary(bfd *abfd,
1 /*violate_read_only*/)
!= section_size)
device_error(me, "broken dma transfer");
- zfree(section_init); /* only free if load */
+ free(section_init); /* only free if load */
}
/* create a memory map from a binaries virtual addresses to a copy of