diff options
Diffstat (limited to 'dbus/dbus-transport-unix.c')
-rw-r--r-- | dbus/dbus-transport-unix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dbus/dbus-transport-unix.c b/dbus/dbus-transport-unix.c index 23ab7c54..17d74886 100644 --- a/dbus/dbus-transport-unix.c +++ b/dbus/dbus-transport-unix.c @@ -189,8 +189,10 @@ queue_messages (DBusTransport *transport) _dbus_verbose ("queueing received message %p\n", message); _dbus_message_add_size_counter (message, transport->live_messages_size); - _dbus_connection_queue_received_message (transport->connection, - message); + if (!_dbus_connection_queue_received_message (transport->connection, + message)) + /* FIXME woops! */; + dbus_message_unref (message); } |