diff --git a/server/atom.c b/server/atom.c index a124426b5e4..0ed4ed5ce42 100644 --- a/server/atom.c +++ b/server/atom.c @@ -103,6 +103,7 @@ static struct atom_table *create_table(int entries_count) { if ((entries_count < MIN_HASH_SIZE) || (entries_count > MAX_HASH_SIZE)) entries_count = HASH_SIZE; + table->handles = NULL; table->entries_count = entries_count; if (!(table->entries = malloc( sizeof(*table->entries) * table->entries_count ))) {