diff options
author | Olivier Blin <oblin@mandriva.com> | 2006-08-08 19:05:46 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2006-08-08 19:05:46 +0000 |
commit | 517e8d67eb775abe3abe9249053eb7535385f7a9 (patch) | |
tree | 92a6146b135670119984a488fbc80657d07800f4 /src | |
parent | 36163b5358535b4486f0a979e2fbcbe459f494a5 (diff) | |
download | mandi-517e8d67eb775abe3abe9249053eb7535385f7a9.tar mandi-517e8d67eb775abe3abe9249053eb7535385f7a9.tar.gz mandi-517e8d67eb775abe3abe9249053eb7535385f7a9.tar.bz2 mandi-517e8d67eb775abe3abe9249053eb7535385f7a9.tar.xz mandi-517e8d67eb775abe3abe9249053eb7535385f7a9.zip |
close d-bus connection
Diffstat (limited to 'src')
-rw-r--r-- | src/mandi_daemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mandi_daemon.c b/src/mandi_daemon.c index df60e4e..f2ce040 100644 --- a/src/mandi_daemon.c +++ b/src/mandi_daemon.c @@ -153,7 +153,8 @@ static void mandi_daemon_exit(mandi_daemon_t *daemon, int exit_code) { plugin = *ptr; plugin->deinit(plugin, daemon->bus); } - /* unregister dbus */ + if (daemon->bus) + dbus_connection_close(daemon->bus); exit(exit_code); } |