diff options
author | Alexander Larsson <alexl@redhat.com> | 2011-03-25 14:35:43 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2011-03-25 14:35:43 +0100 |
commit | 1d48f02ea1bf274d8fb0d70b61bed337bbda06c2 (patch) | |
tree | 1643164a60615405b9c238ccf3e24269998e56fd /eel/eel-stock-dialogs.c | |
parent | 1a8aadd2d02554a308c33a2b88b95c6d7ef5be7f (diff) | |
download | nautilus-1d48f02ea1bf274d8fb0d70b61bed337bbda06c2.tar.gz |
Add custom foreach to eel_g_hash_table_new_free_at_exit
This can be used to get some sort of printout for leaks in non-string
hashtables.
Diffstat (limited to 'eel/eel-stock-dialogs.c')
-rw-r--r-- | eel/eel-stock-dialogs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-stock-dialogs.c b/eel/eel-stock-dialogs.c index e7ae48a0a..fe29ef83d 100644 --- a/eel/eel-stock-dialogs.c +++ b/eel/eel-stock-dialogs.c @@ -272,7 +272,7 @@ eel_timed_wait_start_with_duration (int duration, /* Put in the hash table so we can find it later. */ if (timed_wait_hash_table == NULL) { timed_wait_hash_table = eel_g_hash_table_new_free_at_exit - (timed_wait_hash, timed_wait_hash_equal, __FILE__ ": timed wait"); + (timed_wait_hash, timed_wait_hash_equal, NULL, __FILE__ ": timed wait"); } g_assert (g_hash_table_lookup (timed_wait_hash_table, wait) == NULL); g_hash_table_insert (timed_wait_hash_table, wait, wait); |