summaryrefslogtreecommitdiff
path: root/src/agent.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-04-20 14:28:30 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-04-20 13:37:59 +0200
commit69c61e26f144e85f57d270b8d792a1da9751cba6 (patch)
treedd707c2bfb8bb809dad6150558b1d81e06adf898 /src/agent.c
parent2734c403782e371adb1d9dc1016de0ebda86d166 (diff)
downloadconnman-69c61e26f144e85f57d270b8d792a1da9751cba6.tar.gz
connman-69c61e26f144e85f57d270b8d792a1da9751cba6.tar.bz2
connman-69c61e26f144e85f57d270b8d792a1da9751cba6.zip
agent: Memory leak in passphrase reply
The pending call was not unreffed.
Diffstat (limited to 'src/agent.c')
-rw-r--r--src/agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/agent.c b/src/agent.c
index e3433c8c..b87f4e87 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -180,6 +180,7 @@ done:
passphrase_reply->user_data);
connman_service_unref(passphrase_reply->service);
dbus_message_unref(reply);
+ dbus_pending_call_unref(call);
g_free(passphrase_reply);
}