diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-01-17 08:35:07 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2017-01-17 14:59:26 +0000 |
commit | 1291547d2b5dac55c6d5276e384326049261533f (patch) | |
tree | 939ced88e4646350611a81b85f60e32d8117ae56 | |
parent | 2bea7c4ad13be7abd51f3d3f1d36c1021bb23673 (diff) | |
download | dbus-1291547d2b5dac55c6d5276e384326049261533f.tar.gz |
dbus-connection: Remove a duplicate _dbus_list_clear() call
This was doing no harm (clearing an already-cleared list is a no-op),
but it was also pointless.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99435
-rw-r--r-- | dbus/dbus-connection.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 319987e0..f42dac46 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -2758,8 +2758,6 @@ _dbus_connection_last_unref (DBusConnection *connection) _dbus_hash_table_unref (connection->pending_replies); connection->pending_replies = NULL; - _dbus_list_clear (&connection->filter_list); - _dbus_list_foreach (&connection->outgoing_messages, free_outgoing_message, connection); |