X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fbcache.c;h=0f9c2a25ccc95f42cfe39e21916777510a807d66;hb=b6ba6518e9254bc25f88088228e93ac966ebccd1;hp=fcff55e5ac90b8beacf238da8e08be5311ad3da3;hpb=d0352a18a504a4e7b761f6b3264cf11347d8d056;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/bcache.c b/gdb/bcache.c index fcff55e5ac..0f9c2a25cc 100644 --- a/gdb/bcache.c +++ b/gdb/bcache.c @@ -1,7 +1,7 @@ /* Implement a cached obstack. Written by Fred Fish Rewritten by Jim Blandy - Copyright 1999 Free Software Foundation, Inc. + Copyright 1999, 2000 Free Software Foundation, Inc. This file is part of GDB. @@ -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. */