diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-17 18:01:16 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-11-17 18:01:16 +0000 |
commit | 9f7d277407638e4c065dc304693ee8ff0a165aaf (patch) | |
tree | 890c487cdb06ddb0b1e1c24afd29f6d00421ae77 /hcid | |
parent | 7d1722afcf324d700515f5fc5f4face2e665ce07 (diff) |
Fixed memory leak: missing message unref
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/dbus-security.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c index c197f7f3..1477c2f4 100644 --- a/hcid/dbus-security.c +++ b/hcid/dbus-security.c @@ -722,6 +722,7 @@ static DBusPendingCall *auth_agent_call_authorize(struct authorization_agent *ag return NULL; } + dbus_message_unref(message); return call; } @@ -911,6 +912,7 @@ static DBusPendingCall *agent_request(const char *path, bdaddr_t *bda, return NULL; } + dbus_message_unref(message); return call; } @@ -1117,6 +1119,7 @@ static DBusPendingCall *agent_confirm(const char *path, bdaddr_t *bda, return NULL; } + dbus_message_unref(message); return call; } |