Replace free() with xfree().

This commit is contained in:
Kevin Buettner 2000-12-15 01:01:51 +00:00
parent 6fa957a9b9
commit b8c9b27d1e
128 changed files with 545 additions and 532 deletions

View file

@ -1438,8 +1438,8 @@ display_command (char *exp, int from_tty)
static void
free_display (struct display *d)
{
free ((PTR) d->exp);
free ((PTR) d);
xfree (d->exp);
xfree (d);
}
/* Clear out the display_chain.
@ -1453,9 +1453,9 @@ clear_displays (void)
while ((d = display_chain) != NULL)
{
free ((PTR) d->exp);
xfree (d->exp);
display_chain = d->next;
free ((PTR) d);
xfree (d);
}
}