From b8c9b27d1e133d46199734ca1f047af8bb2d3314 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Fri, 15 Dec 2000 01:01:51 +0000 Subject: Replace free() with xfree(). --- gdb/sun386-nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/sun386-nat.c') diff --git a/gdb/sun386-nat.c b/gdb/sun386-nat.c index 987e82f..326084e 100644 --- a/gdb/sun386-nat.c +++ b/gdb/sun386-nat.c @@ -53,7 +53,7 @@ core_file_command (char *filename, int from_tty) and mark data and stack spaces as empty. */ if (corefile) - free (corefile); + xfree (corefile); corefile = 0; if (corechan >= 0) @@ -70,7 +70,7 @@ core_file_command (char *filename, int from_tty) if (filename) { filename = tilde_expand (filename); - make_cleanup (free, filename); + make_cleanup (xfree, filename); if (have_inferior_p ()) error ("To look at a core file, you must kill the program with \"kill\"."); -- cgit v1.1