diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-01-13 13:45:00 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-01-13 13:45:00 +0200 |
commit | d2244495dfc50c22ce275f6194c19d3293de70cb (patch) | |
tree | 6c476147947b1be0eb3b5e02eb027fde533c868b /src/agent.c | |
parent | 4d80133a45dd1d405dd8a23afdfae82690d30fe6 (diff) |
Fix dbus_connection_ref/unref usage
Diffstat (limited to 'src/agent.c')
-rw-r--r-- | src/agent.c | 1 |
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) |