summaryrefslogtreecommitdiff
path: root/finalize.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2008-02-26 06:09:07 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:42 +0400
commit8b405abe37601f83a613dc99e086650ccdc39907 (patch)
treef69df6a6d414fb5d66fbb1697152df5ed30ea769 /finalize.c
parent6c835afcfbb74a26b84bc717102f4772db649cc4 (diff)
downloadbdwgc-8b405abe37601f83a613dc99e086650ccdc39907.tar.gz
2008-02-25 Hans Boehm <Hans.Boehm@hp.com>
* finalize.c (GC_grow_table): Dereference table in null-check.
Diffstat (limited to 'finalize.c')
-rw-r--r--finalize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/finalize.c b/finalize.c
index 259cd84f..8587fae8 100644
--- a/finalize.c
+++ b/finalize.c
@@ -114,7 +114,7 @@ void GC_grow_table(struct hash_chain_entry ***table,
(size_t)new_size * sizeof(struct hash_chain_entry *), NORMAL);
if (new_table == 0) {
- if (table == 0) {
+ if (*table == 0) {
ABORT("Insufficient space for initial table allocation");
} else {
return;