summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-06 13:59:21 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-06 13:59:21 +0200
commit8b1d58dd39564fa97b5673f15db103c5b75ae5ab (patch)
tree667eecb510588670dbec6bf2c2d52754079bd9cf /plugins
parent8ca94678ecb480dbcb3b2960c4bed0d001874bdf (diff)
Fix DBusPendingCall memory leak
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hal.c2
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;