dbus_bus_register: don't unref the messages with the lock held
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 22 Feb 2011 18:49:29 +0000 (18:49 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 28 Jul 2011 17:22:17 +0000 (18:22 +0100)
commit150f1c1862a56f05303d4cabfccbd98bd866146d
treeac379f1926bc60350195ded37ac5f68aa1d7b9ee
parent72ee30d43b1316269545b00ca8ebd3ef129c0d40
dbus_bus_register: don't unref the messages with the lock held

Finalizing a message can call out to user code via dbus_message_set_data
(or to internal code not expecting locks to be held, via DBusCounter).

Reviewed-by: Colin Walters <walters@verbum.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34393
dbus/dbus-bus.c