summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-09-08 11:57:23 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-09-08 11:57:23 +0300
commit1d40bababe8114b88ec654b7764ff20c22a258c1 (patch)
treee343db09f695a6aeccb2199662bc79ba0a31b917 /src
parent779b2cbee39544eefd8c09152e856ecc854c6707 (diff)
Fix memory leak caused by previous SDP browse fix
Diffstat (limited to 'src')
-rw-r--r--src/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 65b68e2f..2802b8e3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -814,6 +814,7 @@ static void update_services(struct browse_req *req, sdp_list_t *recs)
record = sdp_extract_pdu(pdu.data, pdu.data_size,
&scanned);
+ free(pdu.data);
req->records = sdp_list_append(req->records, record);
}