From 50f801911b9d251e4b150f6cc5d12f9332fe83f8 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 17 Jan 2017 08:35:07 +0000 Subject: [PATCH] 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 https://bugs.freedesktop.org/show_bug.cgi?id=99435 --- dbus/dbus-connection.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 319987e..f42dac4 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); -- 2.9.3