From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> g_slist_remove_link does not free the node which can cause leaks so replace that with g_slist_delete_link which does free memory properly. --- gdbus/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdbus/watch.c b/gdbus/watch.c index a402ca9..07feb61 100644 --- a/gdbus/watch.c +++ b/gdbus/watch.c @@ -574,7 +574,7 @@ static DBusHandlerResult message_filter(DBusConnection *connection, continue; remove_match(data); - listeners = g_slist_remove_link(listeners, l); + listeners = g_slist_delete_link(listeners, l); filter_data_free(data); } -- 1.7.11.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html