Commit: 1f38c67bec894f704de9dda18eea06bc3436252a
Parent: 7992d0ac0bf94ad71db572668823e236514016f8
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-02-16 15:09:12
Tree: b2410634ed54e659e51cc03123060b8249f998e7

device: Fix memory leak during GATT service update GATT service updates are not supported yet. This patch avoids a memory leak and GATT service storage corruption due to trying to register GATT services twice. After adding support for Services Changed characteristic notification (which is mandatory for GATT clients), this check can be removed.

Diffstat

M src/device.c | 8 ++++++++

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

View Full Diff | Patch