Comment some places where it's OK to unref a message despite holding locks
[platform/upstream/dbus.git] / dbus / dbus-pending-call.c
index cfb2baf..f961319 100644 (file)
@@ -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;
     }