diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/user-list.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/user-list.c b/common/user-list.c index 2598bd49..1b198d1a 100644 --- a/common/user-list.c +++ b/common/user-list.c @@ -186,9 +186,7 @@ common_user_list_get_instance (void) void common_user_list_cleanup (void) { - if (singleton) - g_object_unref (singleton); - singleton = NULL; + g_clear_object (&singleton); } static CommonUser * |