aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mips/interp.c')
-rw-r--r--sim/mips/interp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index a276d06..492ae60 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -1285,7 +1285,7 @@ sim_monitor (SIM_DESC sd,
{
char *path = fetch_str (sd, A0);
V0 = sim_io_open (sd, path, (int)A1);
- zfree (path);
+ free (path);
break;
}
@@ -1296,7 +1296,7 @@ sim_monitor (SIM_DESC sd,
char *buf = zalloc (nr);
V0 = sim_io_read (sd, fd, buf, nr);
sim_write (sd, A1, buf, nr);
- zfree (buf);
+ free (buf);
}
break;
@@ -1311,7 +1311,7 @@ sim_monitor (SIM_DESC sd,
sim_io_flush_stdout (sd);
else if (fd == 2)
sim_io_flush_stderr (sd);
- zfree (buf);
+ free (buf);
break;
}