Commit: e81aeaea21db84042ee0c30159290ca56d250111
Parent: 4b92749473f74dba456df78a8734cf8bf8213860
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-01-07 19:56:26
Tree: 30c74346a0cd54e96b46bd4eefedee5b7cb08177

core/gatt-database: Fix possible memory leaks While creating objects it may fail before it is added to its respective queue leaving the object dangling. To fix this the object creation now takes care of things like increasing the attribute count and in case something go wrong free the object properly.

Diffstat

M src/gatt-database.c | 327 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 160 insertions(+), 167 deletions(-)

View Full Diff | Patch