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

@ -143,7 +143,7 @@ kod_set_os (char *arg, int from_tty, struct cmd_list_element *command)
if (old_operating_system)
{
delete_cmd (old_operating_system, &infolist);
free (old_operating_system);
xfree (old_operating_system);
}
old_operating_system = xstrdup (operating_system);
@ -175,7 +175,7 @@ kod_set_os (char *arg, int from_tty, struct cmd_list_element *command)
p = "Unknown KOD library";
printf_filtered ("%s - %s\n", operating_system, p);
free (kodlib);
xfree (kodlib);
}
}