[glib] gdbusprivate: fix a missed g_mutex_free()
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gdbusprivate: fix a missed g_mutex_free()
- Date: Wed, 5 Oct 2011 00:08:27 +0000 (UTC)
commit 26a6b3c6ff4ee086f72612930d3134df90980211
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Oct 4 20:07:31 2011 -0400
gdbusprivate: fix a missed g_mutex_free()
This should have been changed to g_mutex_clear()
gio/gdbusprivate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbusprivate.c b/gio/gdbusprivate.c
index 7ccf98f..480f518 100644
--- a/gio/gdbusprivate.c
+++ b/gio/gdbusprivate.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]