Commit: d07b73511740d59e0fba68cc87ad9bc61ca283ad
Parent: 6dd672739d744c275bbd5daa5954293203963cb6
Author: Paulo Borges <paulo.borges@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-12-01 11:11:16
Tree: 7a991265dd800768672cc9d9570ebe53ecc2892a

gatt: Fix memory leak in characteristic discovery If the Discover Characteristics by UUID sub-procedure has been executed and the first characteristic is not the target, a memory leak occurs. This commit fixes this leak by postponing the allocation to after the UUID verification.

Diffstat

M attrib/gatt.c | 6 +++- - -

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

View Full Diff | Patch