From 1d40bababe8114b88ec654b7764ff20c22a258c1 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 8 Sep 2008 11:57:23 +0300 Subject: Fix memory leak caused by previous SDP browse fix --- src/device.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); } -- cgit