diff options
Diffstat (limited to 'sim/sh64/sh64.c')
-rw-r--r-- | sim/sh64/sh64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/sh64/sh64.c b/sim/sh64/sh64.c index 6c11df8..a4fc445 100644 --- a/sim/sh64/sh64.c +++ b/sim/sh64/sh64.c @@ -594,7 +594,7 @@ trap_handler (SIM_CPU *current_cpu, int shmedia_abi_p, UQI trapnum, PCADDR pc) SET_H_GR (ret_reg, sim_io_write (CPU_STATE (current_cpu), PARM1, buf, PARM3)); - zfree (buf); + free (buf); break; case SYS_lseek: @@ -614,7 +614,7 @@ trap_handler (SIM_CPU *current_cpu, int shmedia_abi_p, UQI trapnum, PCADDR pc) sim_io_read (CPU_STATE (current_cpu), PARM1, buf, PARM3)); sim_write (CPU_STATE (current_cpu), PARM2, buf, PARM3); - zfree (buf); + free (buf); break; case SYS_open: @@ -622,7 +622,7 @@ trap_handler (SIM_CPU *current_cpu, int shmedia_abi_p, UQI trapnum, PCADDR pc) SET_H_GR (ret_reg, sim_io_open (CPU_STATE (current_cpu), buf, PARM2)); - zfree (buf); + free (buf); break; case SYS_close: |