Commit: 3465e976d4929ac3c3940278f716027c0b85f90a
Parent: beb4892e96785ba9ff429fb940126a815efd47fd
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-10-31 12:24:56
Tree: 813a7b3be40a0409baac3e758b40c89e80db5e71

shared/att: Fix memory leak This fixes the following backtrack when running test-gatt: 104 (40 direct, 64 indirect) bytes in 1 blocks are definitely lost in loss record 58 of 63 at 0x4C291D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x405E59: bt_gatt_exchange_mtu (gatt-helpers.c:477) by 0x4082D5: bt_gatt_client_new (gatt-client.c:1196) by 0x4030AB: create_context.constprop.4 (test-gatt.c:230) by 0x4032A5: test_client (test-gatt.c:320) by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x402A41: main (test-gatt.c:452)

Diffstat

M src/shared/att.c | 6 ++++++

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

View Full Diff | Patch