summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glibext/delayed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glibext/delayed.c b/src/glibext/delayed.c
index 64f18cf..6b5ac35 100644
--- a/src/glibext/delayed.c
+++ b/src/glibext/delayed.c
@@ -885,7 +885,7 @@ static void g_work_queue_dispose(GWorkQueue *queue)
g_mutex_lock(&queue->mutex);
for (i = 0; i < queue->groups_count; i++)
- g_object_unref(G_OBJECT(queue->groups[i]));
+ g_clear_object(&queue->groups[i]);
g_mutex_unlock(&queue->mutex);