Comment some places where it's OK to unref a message despite holding locks
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 25 Feb 2011 17:08:59 +0000 (17:08 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 28 Jul 2011 17:23:25 +0000 (18:23 +0100)
commit6310774e98a51a4a2ec550e39ba3e1a58f2d0caa
tree8dcc64c5b11ecd817838cb3418ab72bc30b2d90d
parent0688924ed21a7a0d975b9e01c39d059a18738b86
Comment some places where it's OK to unref a message despite holding locks

In general, dbus_message_unref should be avoided while holding locks,
because it can invoke arbitrary user callbacks (via attached data, or
via DBusCounter).

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