Skip to content
  • Allison Karlitskaya's avatar
    ghash: do less work when destroying the table · b3fbf6c1
    Allison Karlitskaya authored
    We were calling g_hash_table_set_shift() to reinitialise the hash table
    even in the case of destroying it.  Only do that for the non-destruction
    case, and fill the relevant fields with zeros for the destruction case.
    This has a nice side effect of causing more certain crashes in case of
    invalid reuse of the table after (or during) destruction.
    b3fbf6c1