projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c947913
)
Fix: a pending call was leaking in check_service
author
Vinicius Costa Gomes
<vinicius.gomes@openbossa.org>
Fri, 12 Feb 2010 20:35:08 +0000
(17:35 -0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 17 Feb 2010 09:59:12 +0000
(
01:59
-0800)
This was triggering an assert inside libdbus when the timeout inside
the leaking pending call expired. The assert said that we were trying
to remove an nonexistent timeout.
gdbus/watch.c
patch
|
blob
|
history
diff --git
a/gdbus/watch.c
b/gdbus/watch.c
index
75e4210
..
1d479fa
100644
(file)
--- a/
gdbus/watch.c
+++ b/
gdbus/watch.c
@@
-535,6
+535,8
@@
static void check_service(DBusConnection *connection, const char *name,
dbus_pending_call_set_notify(call, service_reply, data, NULL);
+ dbus_pending_call_unref(call);
+
done:
dbus_message_unref(message);
}