Bugfix in the free function of dynamic hash table.