diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-06 13:59:21 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-06 13:59:21 +0200 |
commit | 8b1d58dd39564fa97b5673f15db103c5b75ae5ab (patch) | |
tree | 667eecb510588670dbec6bf2c2d52754079bd9cf | |
parent | 8ca94678ecb480dbcb3b2960c4bed0d001874bdf (diff) |
Fix DBusPendingCall memory leak
-rw-r--r-- | plugins/hal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/hal.c b/plugins/hal.c index 84b530ee..e2189b49 100644 --- a/plugins/hal.c +++ b/plugins/hal.c @@ -124,6 +124,8 @@ static int hal_probe(struct btd_adapter *adapter) dbus_pending_call_set_notify(call, formfactor_reply, adapter, NULL); + dbus_pending_call_unref(call); + dbus_message_unref(message); return 0; |