summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);
}