diff options
Diffstat (limited to 'src/hashtab.c')
-rw-r--r-- | src/hashtab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hashtab.c b/src/hashtab.c index d2383a4..84f5e25 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -209,6 +209,7 @@ xpmHashTableInit(table) table->size = INITIAL_HASH_SIZE; table->limit = table->size / 3; table->used = 0; + table->atomTable = NULL; if (table->size >= UINT_MAX / sizeof(*atomTable)) return (XpmNoMemory); atomTable = (xpmHashAtom *) XpmMalloc(table->size * sizeof(*atomTable)); |