Commit: 283b4b7d694f276e421b0db823a4905983699255
Parent: c03184efcba31643349c734fbd4b6442782e10b3
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-06-07 09:41:50
Tree: 1d15c364524a623c365ebb1d2d9b0cafe745ddcd

gattrib: Fix protection of GAttrib while calling callbacks The callbacks could result with the reference count dropping to 0 and the object being freed. This patch fixes the issue by adding one extra reference for the duration of the timeout function.

Diffstat

M attrib/gattrib.c | 4 ++++

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

View Full Diff | Patch