From ee4d9ece47e33ba632c0c0bb490e7c345de9e876 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. Change-Id: I21b580f01439ef2113183a116f208bf91e09ac76 Signed-off-by: Philip Withnall Signed-off-by: Simon McVittie Bug: 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 10b8a9a..3045c0f 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -2767,8 +2767,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.7.4