Fix g_hash_table_iter_replace
authorMatthias Clasen <mclasen@redhat.com>
Mon, 24 Oct 2011 17:25:15 +0000 (13:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 24 Oct 2011 17:29:17 +0000 (13:29 -0400)
commit73e3c98df07ae7180922216aa3bebfb434405375
tree457f22f69224381db0d151db775a105592ecb580
parenta124562d1bdd51de4b136725b3902b1e518d991f
Fix g_hash_table_iter_replace

When reusing an existing key 'internally', we must avoid calling
the key_destroy function on the old key.

https://bugzilla.gnome.org/show_bug.cgi?id=662544
glib/ghash.c
glib/tests/hash.c