Commit: cdcea1773a484767c766dccb63c32e0086d5bd4f
Parent: 8a29308b4c581aec9042bf8fbe56f654c44ae506
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-08-28 10:37:04
Tree: f7ddab39f2a52755b156a9e368b57e578c2a580b

audio/avrcp: Fix memory leak This frees settings list after used otherwise it leaks as follow: 48 (24 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 152 of 239 at 0x4C28C50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E84679: g_malloc (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E9BCD2: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7A6E5: g_list_prepend (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E6E44B: g_hash_table_get_keys (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x426D5A: list_settings (media.c:1003) by 0x4336B4: player_list_settings (avrcp.c:1390) by 0x4336B4: avrcp_handle_register_notification (avrcp.c:1514) by 0x436711: handle_vendordep_pdu (avrcp.c:1827) by 0x42EB6F: session_cb (avctp.c:1025) by 0x4E7EA89: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7EE1F: ??? (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7F141: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4400.1)

Diffstat

M profiles/audio/avrcp.c | 2 ++

1 files changed, 2 insertions(+), 0 deletions(-)

View Full Diff | Patch