test/dbus/broker: force sd-bus to clean up after itself
This is almost certainly a bug in sd-bus, but for now force it to clean up properly,
as not to leak any memory.
@@ -58,7 +58,7 @@ static void test_self_ping(void) {
util_broker_spawn(broker);
{
- _c_cleanup_(sd_bus_unrefp) sd_bus *bus = NULL;
+ _c_cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
const char *unique = NULL;
util_broker_connect(broker, &bus);
