On Wed, May 13, 2015 at 8:01 AM, Daniel Mack <[email protected]> wrote:

> We should still keep this flush, right?
>
>> -                sd_bus_unref(bus);
>>          }
>>

The cleanup function already does :

static inline void sd_bus_close_unrefp(sd_bus **bus) {
       if (*bus) {
               sd_bus_flush(*bus);
               sd_bus_close(*bus);
               sd_bus_unref(*bus);
       }
}

Or I am missing something ?
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to