OSDN Git Service

gatt: Fix possibly lost block when bluetoothd exits
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 3 Apr 2014 19:46:51 +0000 (16:46 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 4 Apr 2014 07:29:27 +0000 (10:29 +0300)
commitdf78ea46d5a2544a24a72c29e09e4cae9bdd5e71
tree11afc9754f66c6adc0326bdecba78adbe4bd9a11
parent18f48a1b9d8229235f1a4a7b0ee4598ebaf43570
gatt: Fix possibly lost block when bluetoothd exits

This patch fixes a possibly lost memory related to GDBusClient
and GDBusProxy objects when bluetoothd daemon exits and there
is registered external service.
==1503==    by 0x47ECFB: g_dbus_client_new (client.c:1232)
==1503==    by 0x461EC7: register_service (gatt-dbus.c:510)
src/gatt-dbus.c