[bluez/bluez] eaf6e8: tools/iso-tester: fix GIOChannel refcounting

Pauli Virtanen <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <bluez/bluez/push/refs/heads/1150371/[email protected]>
  Branch: refs/heads/1150371
  Home:   https://github.com/bluez/bluez
  Commit: eaf6e80eec2855302412b9a069350c61add50b1a
      https://github.com/bluez/bluez/commit/eaf6e80eec2855302412b9a069350c61add50b1a
  Author: Pauli Virtanen <[email protected]>
  Date:   2026-08-23 (Sun, 23 Aug 2026)

  Changed paths:
    M tools/iso-tester.c

  Log Message:
  -----------
  tools/iso-tester: fix GIOChannel refcounting

iso_defer_accept_* consume the reference passed in.  g_io_add_watch gets
a reference.

Fix the refcounting accordingly. Also clear data->io_queue immediately
after the test, so the sockets get closed.

Not leaking references makes "ISO Connect Close - Success" to work
correctly again.



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.