summaryrefslogtreecommitdiffstats
path: root/src/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/agent.c')
-rw-r--r--src/agent.c1
1 files changed, 1 insertions, 0 deletions
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)