X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fghash.c;h=25597c3b22b45d27cf40c79866fdc6e6fb4c24d3;hb=bb10169eb41a736c1d109682c43f47cb18521d8b;hp=0f7269f743d54f55d7b7d5bfdcaff1ad3031c81a;hpb=8844df91017f79ccdd40fd38f621e3fae807847a;p=platform%2Fupstream%2Fglib.git diff --git a/glib/ghash.c b/glib/ghash.c index 0f7269f..25597c3 100644 --- a/glib/ghash.c +++ b/glib/ghash.c @@ -380,7 +380,7 @@ g_hash_table_unref (GHashTable *hash_table) if (g_atomic_int_exchange_and_add (&hash_table->ref_count, -1) - 1 == 0) { - g_hash_table_remove_all_nodes (hash_table, FALSE); + g_hash_table_remove_all_nodes (hash_table, TRUE); g_free (hash_table->nodes); g_slice_free (GHashTable, hash_table); }