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:
2ec6983
)
agent: Memory leak in error reply
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Fri, 4 May 2012 12:49:44 +0000
(15:49 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 4 May 2012 13:18:57 +0000
(16:18 +0300)
The pending call was not unreffed.
src/agent.c
patch
|
blob
|
history
diff --git
a/src/agent.c
b/src/agent.c
index
33a11ec
..
feeb48e
100644
(file)
--- a/
src/agent.c
+++ b/
src/agent.c
@@
-632,6
+632,7
@@
static void report_error_reply(DBusPendingCall *call, void *user_data)
connman_service_unref(report_error->service);
g_free(report_error);
dbus_message_unref(reply);
+ dbus_pending_call_unref(call);
}
int __connman_agent_report_error(struct connman_service *service,