summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-02-25 19:03:59 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-02-25 19:03:59 +0000
commit2510ba5976f0e8add864a713c761bcc3c46b9ff9 (patch)
tree4590238c8c21b33fd8002ac7a9014c36cfa781ae
parenta8f2026b173f5ccfbc62122d1c59807cf3407930 (diff)
Decrease reference count for pending callback
-rw-r--r--daemon/echo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/echo.c b/daemon/echo.c
index 042d9820..23cf4cc0 100644
--- a/daemon/echo.c
+++ b/daemon/echo.c
@@ -81,6 +81,8 @@ static void authorization_callback(DBusPendingCall *call, void *data)
g_io_channel_unref(io);
dbus_message_unref(reply);
+
+ dbus_pending_call_unref(call);
}
static int request_authorization(DBusConnection *conn,