From 2510ba5976f0e8add864a713c761bcc3c46b9ff9 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 25 Feb 2007 19:03:59 +0000 Subject: Decrease reference count for pending callback --- daemon/echo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'daemon/echo.c') 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, -- cgit