diff --git a/gio/glocalfilemonitor.c b/gio/glocalfilemonitor.c index eccab231c..dc32fb660 100644 --- a/gio/glocalfilemonitor.c +++ b/gio/glocalfilemonitor.c @@ -555,8 +555,8 @@ g_file_monitor_source_dispatch (GSource *source, g_file_monitor_source_update_ready_time (fms); - g_clear_object (&instance); g_mutex_unlock (&fms->lock); + g_clear_object (&instance); /* We now have our list of events to deliver */ while ((event = g_queue_pop_head (&event_queue)))