summaryrefslogtreecommitdiff
path: root/rcm-server-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'rcm-server-main.c')
-rw-r--r--rcm-server-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcm-server-main.c b/rcm-server-main.c
index 5177c3c..9adccbc 100644
--- a/rcm-server-main.c
+++ b/rcm-server-main.c
@@ -1233,7 +1233,7 @@ main(int argc, char **argv)
{
int r;
struct manager *mgr;
- _cleanup_bus_close_unref_ sd_bus *bus = NULL;
+ _cleanup_bus_flush_close_unref_ sd_bus *bus = NULL;
_cleanup_bus_slot_unref_ struct sd_bus_slot *vtable_slot = NULL;
_cleanup_bus_slot_unref_ struct sd_bus_slot *enumerator_slot = NULL;
_cleanup_bus_slot_unref_ struct sd_bus_slot *objm_slot = NULL;