linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bluez/bluez] 223814: device: Fix memory leak
@ 2025-06-18 15:35 fdanis-oss
  0 siblings, 0 replies; only message in thread
From: fdanis-oss @ 2025-06-18 15:35 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/973494
  Home:   https://github.com/bluez/bluez
  Commit: 223814198364497e444fe1b49b81ae0c16137302
      https://github.com/bluez/bluez/commit/223814198364497e444fe1b49b81ae0c16137302
  Author: Frédéric Danis <frederic.danis@collabora.com>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

  Changed paths:
    M src/device.c

  Log Message:
  -----------
  device: Fix memory leak

This frees the LastUsedBearer string to avoid memory leak:

Direct leak of 12 byte(s) in 2 object(s) allocated from:
    #0 0x7ccf538fd9c7 in malloc ../../../../src/libsanitizer/asan/
						asan_malloc_linux.cpp:69
    #1 0x7ccf53665b09 in g_malloc (/lib/x86_64-linux-gnu/
						libglib-2.0.so.0+0x62b09)
    #2 0x7ccf53659b90  (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x56b90)
    #3 0x7ccf53659cd4 in g_key_file_get_string (/lib/x86_64-linux-gnu/
						libglib-2.0.so.0+0x56cd4)
    #4 0x5c8c691f2811 in load_info src/device.c:4225



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-18 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 15:35 [bluez/bluez] 223814: device: Fix memory leak fdanis-oss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).