Commit: 25c982250e0b25d3820c86d7d12522308c682722
Parent: 5a8f171950592074c62e764a9f6462fdcb34a099
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-02-13 12:52:28
Tree: 1d35eca73ed3c5b71d9082630dd4903eaf6632f6

android/gatt: Make struct destructors NULL proof Some destructor functions do check for NULL and for some we need to check manually. In few cases we forgot to check at all, which may lead to NULL dereference. With this patch we are consistent about where this check should be done.

Diffstat

M android/gatt.c | 27 +++++++++++++++++- - - - - - - - - -

1 files changed, 17 insertions(+), 10 deletions(-)

View Full Diff | Patch