diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-12-15 01:01:51 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-12-15 01:01:51 +0000 |
commit | 7fd5097f9fb26871e9f0b329f1cf5554495ed589 (patch) | |
tree | 20b4de6e7953169d2402aff4e158b475b5726e67 /gdb/kod.c | |
parent | eac388f33554805a5765a2836926311f77cd8d79 (diff) | |
download | gdb-7fd5097f9fb26871e9f0b329f1cf5554495ed589.tar.gz |
Replace free() with xfree().
Diffstat (limited to 'gdb/kod.c')
-rw-r--r-- | gdb/kod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/kod.c b/gdb/kod.c index d2687d7ac22..6aa6769d914 100644 --- a/gdb/kod.c +++ b/gdb/kod.c @@ -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); } } |