Skip to content

Commit 1cdf02e

Browse files
committed
Fixed remove key, updated README
1 parent b4ad639 commit 1cdf02e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ GOBJECT_LIST_DISPLAY:
3939
• ‘refs’: Print information about every reference increment and
4040
decrement on objects.
4141
• ‘backtrace’: Include backtraces with every printed message.
42+
• ‘tracerefs’: At exit, for each object still alive, print a call tree.
4243
• ‘all’: All of the above.
4344

4445
GOBJECT_LIST_FILTER:

gobject-list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ _object_finalized (G_GNUC_UNUSED gpointer data,
411411
g_hash_table_remove (gobject_list_state.objects, obj);
412412
g_hash_table_remove (gobject_list_state.added, obj);
413413
#ifdef WITH_ORIGINS_TRACE
414-
g_hash_table_remove (gobject_list_state.origins, obj);
414+
g_hash_table_remove (gobject_list_state.origins, G_OBJECT_TYPE_NAME (obj));
415415
#endif
416416

417417
G_UNLOCK (gobject_list);

0 commit comments

Comments
 (0)