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 | b8c9b27d1e133d46199734ca1f047af8bb2d3314 (patch) | |
tree | 1aa002791f0e97bfc48c64222199e6d9f9e5eb53 /gdb/bcache.c | |
parent | 2000-12-14 Kazu Hirata <kazu@hxi.com> (diff) | |
download | binutils-gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz binutils-gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2 binutils-gdb-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip |
Replace free() with xfree().
Diffstat (limited to 'gdb/bcache.c')
-rw-r--r-- | gdb/bcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/bcache.c b/gdb/bcache.c index fcff55e5ac9..84e64240e87 100644 --- a/gdb/bcache.c +++ b/gdb/bcache.c @@ -111,7 +111,7 @@ expand_hash_table (struct bcache *bcache) /* Plug in the new table. */ if (bcache->bucket) - free (bcache->bucket); + xfree (bcache->bucket); bcache->bucket = new_buckets; bcache->num_buckets = new_num_buckets; } @@ -173,7 +173,7 @@ free_bcache (struct bcache *bcache) { obstack_free (&bcache->cache, 0); if (bcache->bucket) - free (bcache->bucket); + xfree (bcache->bucket); /* This isn't necessary, but at least the bcache is always in a consistent state. */ |