gdbusprivate: fix a missed g_mutex_free()
authorRyan Lortie <desrt@desrt.ca>
Wed, 5 Oct 2011 00:07:31 +0000 (20:07 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 5 Oct 2011 00:08:14 +0000 (20:08 -0400)
This should have been changed to g_mutex_clear()

gio/gdbusprivate.c

index 7ccf98f..480f518 100644 (file)
@@ -1687,7 +1687,7 @@ _g_dbus_worker_flush_sync (GDBusWorker    *worker,
 
       /* note:the element is removed from worker->write_pending_flushes in flush_cb() above */
       g_cond_clear (&data->cond);
-      g_mutex_free (&data->mutex);
+      g_mutex_clear (&data->mutex);
       if (data->error != NULL)
         {
           ret = FALSE;