Re: [PATCH] virGDBusBusInit: Properly check for error when looking up D-Bus address

2020-11-06 Thread Pavel Hrdina
On Fri, Nov 06, 2020 at 02:30:26PM +0100, Michal Privoznik wrote: > The virGDBusBusInit is supposed to return a reference to > requested bus type (system/session) or, if non-shared bus is > requested then create a new bus of the type. As an argument, it > gets a double pointer to GError which is

[PATCH] virGDBusBusInit: Properly check for error when looking up D-Bus address

2020-11-06 Thread Michal Privoznik
The virGDBusBusInit is supposed to return a reference to requested bus type (system/session) or, if non-shared bus is requested then create a new bus of the type. As an argument, it gets a double pointer to GError which is passed to all g_dbus_*() calls which allocate it on failure. Pretty