summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-06-07 13:46:51 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-06-07 13:46:51 +0000
commit3ca61601aa65b0b5fc109fd1dc6df42437b68716 (patch)
tree3d5272316aaa17f3854f3306d7c03a304a0d6365
parent54005c961d5c81df699f397f4d950f2b2ecbeb11 (diff)
Removed memory leak
-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 5505db4e..124825a4 100644
--- a/hcid/dbus-sdp.c
+++ b/hcid/dbus-sdp.c
@@ -394,6 +394,9 @@ static void transaction_context_free(void *udata, gboolean cache)
if (!ctxt)
return;
+ g_free(ctxt->src);
+ g_free(ctxt->dst);
+
if (ctxt->conn)
dbus_connection_unref(ctxt->conn);