Commit: 8784c67d35e2d95902fb17cd799abaf132b416a9
Parent: 64670a4a31d53fe8b5b801ab1f8659e3d0ed2000
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2019-05-10 11:22:11
Tree: 145ab0a1355689d29160b8f2b65e44feede8bb0b

a2dp: Fix memory when loading of LastUsed fails This fixes the following trace: 3 bytes in 1 blocks are definitely lost in loss record 2 of 246 at 0x483880B: malloc (vg_replace_malloc.c:309) by 0x491BDC5: g_malloc (in /usr/lib64/libglib-2.0.so.0.5800.3) by 0x490CF2B: ??? (in /usr/lib64/libglib-2.0.so.0.5800.3) by 0x490E7CF: g_key_file_get_string (in /usr/lib64/libglib-2.0.so.0.5800.3) by 0x41E85B: load_remote_sep (a2dp.c:1987) by 0x41E85B: load_remote_seps (a2dp.c:2030) by 0x41EC86: avdtp_state_cb (a2dp.c:2053) by 0x421F77: avdtp_set_state (avdtp.c:700) by 0x42818B: avdtp_connect_cb (avdtp.c:2313) by 0x42847C: avdtp_new (avdtp.c:2389) by 0x41B4BB: connect_cb (a2dp.c:2145) by 0x46D993: accept_cb (btio.c:203)

Diffstat

M profiles/audio/a2dp.c | 1 +

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

View Full Diff | Patch