Parent: db7c5f23af05999304edd7da72c1a5b043f17e9e
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-11-06 17:26:56
Tree: eaa4d11afbbc3649f08c21f0f60e2ad1eddd4c0d
android/gatt: Fix pending request data leakage Fix potential memory leaks and one reported by Valgrind: ==28453== 201 (144 direct, 57 indirect) bytes in 3 blocks are definitely lost in loss record 156 of 166 ==28453== at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==28453== by 0x4362AD: att_handler (gatt.c:5655) ==28453== by 0x44496D: received_data.part.2 (gattrib.c:432) ==28453== by 0x4E7FCE4: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==28453== by 0x4E80047: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==28453== by 0x4E80309: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==28453== by 0x4045B6: main (main.c:772)
Diffstat
| M | android/gatt.c | | | 7 | ++++++- |
1 files changed, 6 insertions(+), 1 deletions(-)