@Salem's got it right.

Also, in your insert code you should consider just dropping the new entry at the front of the linked list:

Code:
entry->next = lookup_table[i];
That way it doesn't matter whether the existing value is NULL or not. And it makes the most-recently inserted value the fastest to retrieve, if that's worth anything.