--- pmount-0.9.13/src/pmount-hal.c.keeppublic 2007-02-06 16:03:00.000000000 +0100
+++ pmount-0.9.13/src/pmount-hal.c 2007-02-06 16:04:18.000000000 +0100
@@ -361,7 +361,11 @@
/* shut down hal connection */
libhal_ctx_shutdown( hal_ctx, &error );
libhal_ctx_free( hal_ctx );
+ /* shouldn't close public connections, see
+ http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#ge130c33da29477897d362ab89f068191 */
+/*
dbus_connection_close( dbus_conn );
+*/
dbus_connection_unref( dbus_conn );
/* go */