Marc Hartmayer 6707ffd11c virdbus: Grab a ref as long as the while loop is executed
Grab a ref for info->bus (a DBus connection) as long as the while loop
is running. With the grabbed reference it is ensured that info->bus
isn't freed as long as the while loop is executed. This is necessary
as it's allowed to drop the last ref for the bus connection in a
handler.

There was already a bug of this kind in libdbus itself:
https://bugs.freedesktop.org/show_bug.cgi?id=15635.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-09-25 19:27:21 -04:00
..
2018-08-24 13:23:36 +02:00
2018-08-24 13:23:36 +02:00
2018-04-01 17:42:29 +02:00
2018-07-27 15:47:45 +02:00
2018-07-15 12:09:09 +02:00
2018-03-14 12:46:26 +01:00
2018-07-27 15:47:45 +02:00
2017-12-05 11:28:19 +01:00
2017-11-03 13:24:12 +01:00
2018-05-29 15:42:03 +02:00
2018-05-29 15:42:03 +02:00
2017-11-03 13:24:12 +01:00