[telepathy-glib/master] Don't unref a NULL DBusMessage.
Will Thompson
will.thompson at collabora.co.uk
Thu Aug 6 11:32:02 PDT 2009
It's obviously wrong to unref 'reply' inside 'if (reply == NULL) {}'.
:-)
References: fd.o#23164
---
telepathy-glib/dbus.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/dbus.c b/telepathy-glib/dbus.c
index 60c9e37..c958117 100644
--- a/telepathy-glib/dbus.c
+++ b/telepathy-glib/dbus.c
@@ -1026,7 +1026,6 @@ _tp_dbus_daemon_get_name_owner (TpDBusDaemon *self,
"%s: %s", dbus_error.name, dbus_error.message);
dbus_error_free (&dbus_error);
- dbus_message_unref (reply);
return FALSE;
}
--
1.5.6.5
More information about the telepathy-commits
mailing list