projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
revert 1.9. Not approved.
[deliverable/binutils-gdb.git]
/
gdb
/
bcache.c
diff --git
a/gdb/bcache.c
b/gdb/bcache.c
index 766aff9c3bb8be82ef315559f549e74741e06b41..96c01ba4655b1ab5a0e5509469fc8bb78e6d6870 100644
(file)
--- a/
gdb/bcache.c
+++ b/
gdb/bcache.c
@@
-189,7
+189,8
@@
void
free_bcache (struct bcache *bcache)
{
obstack_free (&bcache->cache, 0);
- free (bcache->bucket);
+ if (bcache->bucket)
+ free (bcache->bucket);
/* This isn't necessary, but at least the bcache is always in a
consistent state. */
This page took
0.022859 seconds
and
4
git commands to generate.