summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-sdp.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-09-13 18:25:12 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-09-13 18:25:12 +0000
commit2c23353b69507d2b36f7e9b45321737a9fe754ca (patch)
tree4e1b3d3b53a723378408a23d2287fbceee8a4f5d /hcid/dbus-sdp.c
parent37235c9982179aa98e70b588f1c0df405c7b8329 (diff)
pending connect leak
Diffstat (limited to 'hcid/dbus-sdp.c')
-rw-r--r--hcid/dbus-sdp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-sdp.c b/hcid/dbus-sdp.c
index c0ba0f48..2049e656 100644
--- a/hcid/dbus-sdp.c
+++ b/hcid/dbus-sdp.c
@@ -189,6 +189,9 @@ static void pending_connect_free(struct pending_connect *c)
if (!c)
return;
+ if (c->dst)
+ free(c->dst);
+
if (c->rq)
dbus_message_unref(c->rq);