From d2244495dfc50c22ce275f6194c19d3293de70cb Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 13 Jan 2009 13:45:00 +0200 Subject: Fix dbus_connection_ref/unref usage --- src/agent.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/agent.c') diff --git a/src/agent.c b/src/agent.c index 8784db3f..ae0d958e 100644 --- a/src/agent.c +++ b/src/agent.c @@ -782,6 +782,7 @@ gboolean agent_is_busy(struct agent *agent, void *user_data) void agent_exit(void) { dbus_connection_unref(connection); + connection = NULL; } void agent_init(void) -- cgit