projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Comment some places where it's OK to unref a message despite holding locks
[platform/upstream/dbus.git]
/
dbus
/
dbus-pending-call.c
diff --git
a/dbus/dbus-pending-call.c
b/dbus/dbus-pending-call.c
index
cfb2baf
..
f961319
100644
(file)
--- a/
dbus/dbus-pending-call.c
+++ b/
dbus/dbus-pending-call.c
@@
-353,6
+353,8
@@
_dbus_pending_call_set_timeout_error_unlocked (DBusPendingCall *pending,
reply_link = _dbus_list_alloc_link (reply);
if (reply_link == NULL)
{
+ /* it's OK to unref this, nothing that could have attached a callback
+ * has ever seen it */
dbus_message_unref (reply);
return FALSE;
}